Contents

horizontalAlignmentMode

The horizontal position of the text within the node.

Declaration

var horizontalAlignmentMode: SKLabelHorizontalAlignmentMode { get set }

Mentioned in

Discussion

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

See Also

Controlling a Label’s Alignment