ios 在UIView上画图,线条
摘要:
1.画线条(实线,虚线)- (void)drawRect:(CGRect)rect{ CGContextRef context = UIGraphicsGetCurrentContext(); [self drawXLine:context rect:rect]; [self drawLegend:context rect:rect];}-(CGContextRef)drawXLine:(CGContextRef)context rect:(CGRect)rect{ CGContextSetStrokeColorWithColor(context, [UIColor redColo... 阅读全文
posted @ 2013-08-15 16:55 Hai_阔天空 阅读(1445) 评论(0) 推荐(0)
浙公网安备 33010602011771号