2015年8月20日
摘要: 一、理论知识二、画线段1.新建一个类MJLineView,拖一个UIView,Class为MJLineView2.在drawRect:方法里画图-(void)drawRect:(CGRect)rect{//1.获得图形上下文CGContextRef ctx = UIGraphicsGetCurren... 阅读全文
posted @ 2015-08-20 16:54 Marshall_Yin 阅读(364) 评论(0) 推荐(0) 编辑