title: iOS SpriteKit How to make stroke color transparent?
body: <p>I do some simple games using SpriteKit now. There is one problem with stroke color in drawing process.</p>
  
  <p>I have to do my colored shapeNode transparent, but my stroke color stays the same every time. I've tried different techniques to do my node be entirely transparent: 1)setting alpha component to stroke color 2)setting alpha component to whole node. It didn't help. Is there is any way to achieve or get around this? </p>
  
  <p>Creation of my node </p>
  
  <pre><code>CGMutablePathRef arc = CGPathCreateMutable();
      cardWidth = cardWidth + cardAlpha;
  CGPathAddRoundedRect(arc, NULL, CGRectMake(-cardWidth/2, -cardHeight/2, cardWidth, cardHeight), roundRadius, roundRadius);
  roundRect = [SKShapeNode node];
  roundRect.name = self.name;
  CGFloat lineWidth = 2.0;
  CGPathRef strokedArc =
  CGPathCreateCopyByStrokingPath(arc, NULL,
                                     lineWidth,
                                     kCGLineCapButt,
                                     kCGLineJoinMiter, // the default
                                     10); // 10 is default miter limit
  
  
  roundRect.path = strokedArc;
  [self addChild:roundRect];
  </code></pre>
  
  <p>Then i try to change color and opacity </p>
  
  <pre><code>roundRect.fillColor = rightColor;
  roundRect.strokeColor = rightColor;
  roundRect.strokeColor = rightColor;
  termLabel.fontColor = rightColor;
  roundRect.alpha = 0.5;
  </code></pre>