SKLabelNode
E518840
SKLabelNode is a SpriteKit class used to display and render text labels within 2D game scenes.
Statements (52)
| Predicate | Object |
|---|---|
| instanceOf |
SpriteKit class
ⓘ
text rendering node ⓘ |
| canBeAddedTo |
SKNode
NERFINISHED
ⓘ
SKScene NERFINISHED ⓘ |
| creationMethod |
init(text:)
ⓘ
labelNode(withFontNamed:) ⓘ labelNode(withText:) ⓘ |
| framework | SpriteKit NERFINISHED ⓘ |
| hasProperty |
alpha
ⓘ
attributedText ⓘ blendMode ⓘ colorBlendFactor ⓘ fontColor ⓘ fontName ⓘ fontSize ⓘ frame ⓘ horizontalAlignmentMode ⓘ isHidden ⓘ isUserInteractionEnabled ⓘ lineBreakMode ⓘ name ⓘ numberOfLines ⓘ position ⓘ preferredMaxLayoutWidth ⓘ shadowBlurRadius ⓘ shadowColor ⓘ shadowOffset ⓘ text ⓘ verticalAlignmentMode ⓘ xScale ⓘ yScale ⓘ zPosition ⓘ zRotation ⓘ |
| inheritsFrom | SKNode NERFINISHED ⓘ |
| introducedIn |
OS X 10.9
ⓘ
iOS 7 ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| platform |
Apple
NERFINISHED
ⓘ
iOS ⓘ macOS ⓘ tvOS NERFINISHED ⓘ |
| supports |
NSAttributedString text
ⓘ
actions ⓘ animations ⓘ color blending ⓘ dynamic text content ⓘ multiline text ⓘ static text content ⓘ text alignment ⓘ |
| usedFor |
displaying text labels in 2D game scenes
ⓘ
rendering text in SpriteKit scenes ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.