ios - In Xcode 6 Beta 4 stroking with SKShapeNode doesn't work anymore -
This works fine in Xcode 6 Beta 2, but it does not work anymore in Beta 4. Does anyone know what is behind this secret?
Let's circle = SKShapeNode (circleOfRadius: 125); Circle.strokeColor = UIColor (red: 255, green: 255, blue: 255, alpha: 1.0); Circle.lineWidth = 4 self.addChild (Circle); -Text "itemprop =" text ">
While using this simulator, there is a common problem with encode 6 beta 4. It works worthwhile It is worth noting that this issue is unique to stroking in that setting, which is still the circle (or whatever your SKShapeNode is drawing) properly Also keep in mind that when RGB values (inclusive) between 0.0 and 1.0
circle.strokeColor = UIColor (red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0); or alternate form Use presets from:
circle.strokeColor = UIColor.whiteColor ()
Comments
Post a Comment