我现在在我的应用程序中使用CGContextAddLineToPoint绘制一条线,我想从给定的点中删除一条线,我该怎么做?
You can erase,
Given the two points, draw the line with same attributes(lineWidth etc.,) by setting the CGContextSetBlendMode(context, kCGBlendModeClear)
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.