Instance Property

horizontalAlignmentMode

The horizontal position of the text within the node.

Declaration

@property(nonatomic) SKLabelHorizontalAlignmentMode horizontalAlignmentMode;

Discussion

The possible values for this property are listed in SKLabelHorizontalAlignmentMode. The default value of this property is SKLabelHorizontalAlignmentModeCenter.

See Also

Controlling a Label's Alignment

verticalAlignmentMode

The vertical position of the text within the node.

SKLabelVerticalAlignmentMode

Options for aligning text vertically.

SKLabelHorizontalAlignmentMode

Options for aligning text horizontally.