title: How do I draw a filled circle using SpriteKit?
body: <p>I am trying to draw a filled circle in SpriteKit. </p>
  
  <p>I am currently drawing a circle as such. </p>
  
  <pre><code>node.physicsBody = SKPhysicsBody(circleOfRadius: radius)
  node.fillColor = color
  node.strokeColor = node.fillColor
  </code></pre>
  
  <p>I need this circle to be filled at a certain level based on a value between 0.0 and 1.0. How can I achieve this effect?</p>
  
  <p><a href="https://i.stack.imgur.com/N41Rv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N41Rv.jpg" alt="enter image description here"></a></p>
  
  <p>For example, the circle above is filled at a value of 0.5.</p>