Quartz2D简单绘制之矩形&椭圆

// 画矩形和圆形(椭圆也是圆哦) CGContextRef contextRef = UIGraphicsGetCurrentContext(); CGContextSetRGBStrokeColor(contextRef, 1.0f, 1.0f, 1.0f, 1); CGContextSetLineWidth(contextRef, 2.0f); CGContextAddRect(contex
相关文章
相关标签/搜索