摘要: 第六章:Specialized Layers类别用途CAEmitterLayer用于实现基于Core Animation粒子发射系统。发射器层对象控制粒子的生成和起源CAGradientLayer用于绘制一个颜色渐变填充图层的形状(所有圆角矩形边界内的部分)CAEAGLLayer/CAOpenGLL... 阅读全文
posted @ 2014-10-08 18:26 荔枝林 阅读(2905) 评论(0) 推荐(1) 编辑
摘要: 第五章:TransformsAffine TransformsCGAffineTransform是二维的Creating a CGAffineTransform主要有三种变化方法旋转:CGAffineTransformMakeRotation(CGFloat angle)缩放:CGAffineTra... 阅读全文
posted @ 2014-10-08 18:25 荔枝林 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 第四章:Visual EffectsRounded Corners例子4.1cornerRadius源码在这里下载:http://www.informit.com/title/9780133440751[objc]view plaincopyprint?#import"ViewController.... 阅读全文
posted @ 2014-10-08 18:23 荔枝林 阅读(807) 评论(0) 推荐(0) 编辑
摘要: [objc]view plaincopyprint?转载学习-(void)drawLayer:(CALayer*)layerinContext:(CGContextRef)ctx{CGFloatwidth=10.0f;//drawathickredcircleCGContextSetLineWidt... 阅读全文
posted @ 2014-10-08 18:22 荔枝林 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 转载.Book DescriptionPublication Date:August 12, 2013Core Animation is the technology underlying Apple’s iOS user interface. By unleashing the full powe... 阅读全文
posted @ 2014-10-08 18:21 荔枝林 阅读(1282) 评论(0) 推荐(1) 编辑