Contents

SKLabelNode

A graphical element that draws text.

Declaration

class SKLabelNode

Mentioned in

Overview

SKLabelNode allows you to render text in your scene. You can define a custom style using properties such as fontName and fontColor, or configure the look of your text with an NSAttributedString.

Topics

Getting Started with Labels

Creating a Label

Setting a Label’s Text

Specifying a Label’s Font

Controlling a Label’s Alignment

Defining a Label’s Line-Breaking Behavior

Colorizing a Label

Configuring Alpha Blending

See Also

Nodes that Draw