title: Draw UIBezierPath following CAShapeLayer fill color
body: <p>I am using <a href="https://stackoverflow.com/questions/38761118/draw-lettertext-with-uibezierpath-single-line">this</a> code to create the UIBezierPath for letter and i have created the letter A like image below. </p>
  
  <p><a href="https://i.stack.imgur.com/OfY7n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OfY7n.png" alt="enter image description here"></a></p>
  
  <p>Now i want to create a UIBezierPath that follows the yellow color that is filled in CAShapeLayer like image below.</p>
  
  <p>Can any one has idea how can i achieve that.</p>
  
  <p><a href="https://i.stack.imgur.com/bwA4Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bwA4Y.png" alt="enter image description here"></a></p>