Core Animation图层的几何属性

anchorPoint 锚点:是图层的bounds相对于position的值。是一个CGPoint。用单位空间变量表示。比如:(0.0, 0.0)(0.5, 0.5)

 

position是子图层在父图层的空间坐标系里的位置。一般是子图层的中心点(anchorPoint为(0.5, 0.5))的情况。

posted on 2012-07-17 19:15  Dabin1988  阅读(93)  评论(0编辑  收藏  举报