
Objective-C
wa1065908163
这个作者很懒,什么都没留下…
展开
-
iOS绘图
一、UIKit.使用 UIKit 和 Core Graphics 绘图1.CoreGraps 中得基础类型是 CGContext。2.上下文是所有绘图调用的绘制目的地。.使用 UIKit 的 UIGraphicsGetCurrentContext 函数可以获得一个图形上下文引用。然后,使用上下文进行绘制二、Core Graphics.Core Graphics 提供了大原创 2015-07-01 14:06:30 · 367 阅读 · 0 评论 -
绘制图形-移动,旋转,阴影,渐变
// Only override drawRect: if you perform custom drawing.// An empty implementation adversely affects performance during animation.- (void)drawRect:(CGRect)rect { UIBezierPath *path = [UI原创 2015-07-01 20:21:14 · 735 阅读 · 2 评论