UIBezierPath changes the width of the path segment
I am trying to develop a drawing application and I need to change the width of the path according to the speed of the hand.
I tried to use moveToPoint to start another subdirectory
myPath.moveToPoint(myPath.currentPoint) myPath.lineWidth = myPath.lineWidth + 1
but it doesn't work, it changes the width of the whole path.
Do you know if there is a way to change only the width of the subpath?
+3
source to share