zsisme
ios核心动画高级技巧

Updated 3 years ago

xuchuandong (@xuchuandong) started discussion #206

2 years ago · 0 comments

Open

    和第二章提到的contentsRect和contentsCenter属性类似,anchorPoint用单位坐标来描述,也就是图层的相对坐标,图层左上角是{0, 0},右下角是{1, 1},因此默认坐标是{0.5, 0.5}。anchorPoint可以通过指定x和y值小于0或者大于1,使它放置在图层范围之外。

锚点 (Edit this file)

大于0 小于1 吧?

No description provided.
xianbei @hangqiang321 commented 2 years ago

可以大于1小于0


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