摘要:
0CGContextRef context = UIGraphicsGetCurrentContext();设置上下文1 CGContextMoveToPoint开始画线2 CGContextAddLineToPoint画直线4 CGContextAddEllipseInRect画一椭圆4 CGContextSetLineCap设置线条终点形状4 CGContextSetLineDash画虚线4 CGContextAddRect画一方框4 CGContextStrokeRect指定矩形4 CGContextStrokeRectWithWidth指定矩形线宽度4 CGContextStrokeL 阅读全文