title: UIBezierPath change width of a path's segment
body: <p>I'm trying to develop a drawing application, and I need to change the width of the path according to the speed of the hand.</p>
  
  <p>I tried to use moveToPoint to start another subpath</p>
  
  <pre><code>myPath.moveToPoint(myPath.currentPoint)
  myPath.lineWidth = myPath.lineWidth + 1
  </code></pre>
  
  <p>but it doesn't work, it changes the width of the entire path.</p>
  
  <p>Do you know if there's a way to change only a subpath's width?</p>