CoreGraphics绘图
yaoliangjun306
坚持自己!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Quartz2D绘制饼图
#import "PieView.h" @implementation PieView - (void)drawRect:(CGRect)rect { // Drawing code NSArray *data = @[ @15, @13, @22, @5, @10, @35 ]; CGPoint center = CGPointMake(self.boun原创 2016-11-28 21:11:06 · 394 阅读 · 0 评论 -
Quartz2D绘制圆形进度条
#import "ViewController.h" #import "IProgressView.h" @interface ViewController () @property (strong, nonatomic) IBOutlet IProgressView *pinkView; @property (strong, nonatomic) IBOutlet UILabel *prog原创 2016-11-27 21:22:39 · 369 阅读 · 0 评论 -
Quartz2D绘图
#import "PinkView.h" @implementation PinkView - (void)drawRect:(CGRect)rect { // Drawing code // [self drawLine]; // [self drawQuadCurve]; // [self drawRect]; [self drawArc];原创 2016-11-27 20:19:34 · 264 阅读 · 0 评论
分享