/MKOutlinedLabelNode

Draw outlined text in SpriteKit

Primary LanguageSwiftMIT LicenseMIT

MKOutlinedLabelNode

Draw outlined text in SpriteKit.

Usage

let textNode = MKOutlinedLabelNode(fontNamed: "Helvetica", fontSize: 32)
textNode.borderColor = UIColor.blackColor()
textNode.fontColor = UIColor.blueColor()
textNode.outlinedText = "Test"

Screenshot

Screenshot

License

MIT