iOS SpriteKit How to make stroke color transparent?
问题 I do some simple games using SpriteKit now. There is one problem with stroke color in drawing process. 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? Creation of my node CGMutablePathRef arc = CGPathCreateMutable(); cardWidth =