편집

다음을 통해 공유


SKLabelHorizontalAlignmentMode Enum

Definition

An enumeration whose values specify horizontal alignment of a SKLabelNode. Used with HorizontalAlignmentMode

public enum SKLabelHorizontalAlignmentMode
type SKLabelHorizontalAlignmentMode = 
Inheritance
SKLabelHorizontalAlignmentMode

Fields

Center 0

Place the text in the horizontal center of the node.

Left 1

Place the left edge of the text at the node's origin.

Right 2

Place the right edge of the text at the node's origin.

Applies to