You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the Gestures for rotation and scaling purpose of text and image, I need to get the left and top values of a text after it is rotated with onRotateEnd(event, styles), the left and top values seem not right for me, for instance, when I rotate a text 15 degree counterclockwise around the left end as center rotation point, I want the left and top value of the left side, but the values I got from onRotateEnd or onEnd does not give me the right value for the left side, so where does the values of the Left or Top of the styles in onRotateEnd(event, styles) refers to? how can I calculate the top or left values for the left end of my text rotated?
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I am using the Gestures for rotation and scaling purpose of text and image, I need to get the left and top values of a text after it is rotated with onRotateEnd(event, styles), the left and top values seem not right for me, for instance, when I rotate a text 15 degree counterclockwise around the left end as center rotation point, I want the left and top value of the left side, but the values I got from onRotateEnd or onEnd does not give me the right value for the left side, so where does the values of the Left or Top of the styles in onRotateEnd(event, styles) refers to? how can I calculate the top or left values for the left end of my text rotated?
Thanks
The text was updated successfully, but these errors were encountered: