Share via


SKLabelHorizontalAlignmentMode Enum

Definition

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

[ObjCRuntime.Native]
public enum SKLabelHorizontalAlignmentMode
[<ObjCRuntime.Native>]
type SKLabelHorizontalAlignmentMode = 
Inheritance
SKLabelHorizontalAlignmentMode
Attributes

Fields

Name Value Description
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