zsisme
ios核心动画高级技巧

Updated 3 years ago

tomzid (@tomzid) started discussion #205

2 years ago · 0 comments

Open

    注意在图3.3中,当改变了anchorPoint,position属性保持固定的值并没有发生改变,但是frame却移动了。

锚点 (Edit this file)

position 和 anchorPoint对应的点是相同的,但是对应的坐标系不同。position位置是基于父视图坐标系,anchorPoint位置是基于图层于本身坐标系的向量

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant