title: How to set color to border of circle canvas
body: <p>I have created circle in QML using canvas 2D. Half circle has light green color and another half sky blue but now i don't know how to set border color to this circle. anyone know how to set color to border of this circle??</p>
  
  <pre><code>     Canvas {
            anchors.fill: parent
            onPaint: {
                var ctx = getContext("2d");
                ctx.reset();
  
                var centreX =900;
                var centreY = 150;
  
                ctx.beginPath();
                ctx.fillStyle = "#16AA55"; //green
                ctx.moveTo(centreX, centreY);
                ctx.arc(centreX, centreY,100, Math.PI * 0.01, Math.PI * 1, false);
                ctx.lineTo(centreX, centreY);
                ctx.fill();
  
                ctx.beginPath();
                ctx.fillStyle = "#26A7CA";
                ctx.moveTo(centreX, centreY);
                ctx.arc(centreX, centreY, 100, Math.PI * 1, Math.PI * 2.01, false);
                ctx.lineTo(centreX, centreY);
                ctx.fill();
            }
  </code></pre>