画圆
n71820
iOS程序员
展开
-
34.画圆 画圆弧 画饼状图
1.画圆方式一:- (void)drawYuan1 { // 画圆 // 1.获取上下文 CGContextRef ctx = UIGraphicsGetCurrentContext(); // 2.画圆,指定起点和宽高 CGContextAddEllipseInRect(ctx, CGRectMake(50, 100, 50, 50)); [[UIC原创 2015-06-01 11:47:13 · 847 阅读 · 0 评论 -
欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客- (UIButton *)addButtonWithImage:(NSString *)image highImage:(NSString *)highImage disableImage:(NSString *)disableImage frame:(CGRect)frame action:(SEL)action { // 创建按钮 UIBut原创 2016-05-13 11:13:42 · 388 阅读 · 0 评论