title: How do I get a one-sided gradient effect for createJS beginLinearGradientStroke?
body: <p>I'm working on a gradient stroke for a "loading circle" using createJS. However, I only need the gradient effect to be applied on one "joining point" of the two colors, and not apply it on the other joining point.</p>
  
  <p>What I did was this, but it's only giving me a normal gradient effect:</p>
  
  <pre><code>    var rd = 64;      
      timerCount.graphics.setStrokeStyle(8)
      /*                              yellow  ,red*/
        .beginLinearGradientStroke( ["#F7CC00","#FE1D1E"]  ,[0,1]  ,0,rd*0.5  ,0,-rd );
  </code></pre>
  
  <p>Please refer to the image below:</p>
  
  <p><a href="https://i.stack.imgur.com/q9Q4V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q9Q4V.png" alt="enter image description here"></a></p>
  
  <p>Anyone knows how I can do this?</p>
  
  <p>Here's my code in JSFiddle:
  <a href="https://jsfiddle.net/flamedenise/gg9aabug/18/" rel="nofollow noreferrer">https://jsfiddle.net/flamedenise/gg9aabug/18/</a></p>
  
  <p>Thank you and Happy New Year ahead!</p>