iOS绘图系列二:画直线 CGContextMoveToPoint,CGContextAddLineToPoint,CGContextAddLines,
我们接下来的例子都是通过UIKit和Core Graphics 两个框架在- (void)drawRect:(CGRect)rect进行绘制: UIBezierPath *subPath = [UIBezierPath bezierPath]; [subPath moveToPoint:CGPointMake(10.0, 90.0)]; [subPath addL
复制链接