首页 > TAG信息列表 > CGContext

[ios]CGContext 函数说明

CGContextRef context = UIGraphicsGetCurrentContext(); 设置上下文 CGContextMoveToPoint 开始画线 CGContextAddLineToPoint 画直线 CGContextAddEllipseInRect 画一椭圆 CGContextSetLineCap 设置线条终点形状 CGContextSetLineDash 画虚线 CGContextAd