【发布时间】:2015-04-27 16:30:30
【问题描述】:
我正在尝试开发一个绘图应用程序,我需要根据手的速度改变路径的宽度。
我尝试使用 moveToPoint 启动另一个子路径
myPath.moveToPoint(myPath.currentPoint)
myPath.lineWidth = myPath.lineWidth + 1
但它不起作用,它改变了整个路径的宽度。
你知道有没有办法只改变子路径的宽度?
【问题讨论】:
标签: ios swift graphics uibezierpath