阅读背景:

CAGradientLayer发布使用CAShapeLayer创建的动画圆圈

来源:互联网 

I am drawing an animated circle using the UIBezierPath and CAShapeLayer. Now while adding the gradient effect the problem occurring is - CAGradientLayer adds it's gradient effect from upside down. But I want gradient effect from the starting point of the circle to the end point of the circle.I am drawing an animated circle using the UIBez




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: