Oba*_*aid 2 iphone xcode ipod ipad ios
我想在CALayer上绘制CGPath,但是当我在CALayer中渲染CGPath时,它总是在主UIView中绘制.告诉我如何在CALayer上绘制CGPath.
当我尝试在CALayer上绘制路径时,它给我这样的东西:
图片: http ://www.freeimagehosting.net/h1k7e
Des*_*Des 6
使用CAShapeLayer及其"path"属性将CGPath绘制到CALayer.
https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAShapeLayer_class/Reference/Reference.html#//apple_ref/occ/instp/CAShapeLayer/path
归档时间:
13 年,6 月 前
查看次数:
1753 次
最近记录: