摘要 |
Disclosed are a method, device and terminal for implementing rotation of a floating window. The method comprises: providing, by user equipment, a picture container supporting a rotation attribute for a user interface (UI) floating window view; adding the UI floating window view to the picture container; when the orientation is changed, acquiring a rotation angle of the UI floating window view, redrawing the rotated UI floating window view, and acquiring a rotation reduction matrix; and when a user click event is detected, performing rotation reduction conversion on the coordinates at the user click position. The technical solution of the present invention has the beneficial effects of low calculation quantity, high processing efficiency and natural appearance of a floating window UI component. |