Bewerken

Delen via


SKLabelHorizontalAlignmentMode Enum

Definition

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

public enum SKLabelHorizontalAlignmentMode
type SKLabelHorizontalAlignmentMode = 
Inheritance
SKLabelHorizontalAlignmentMode

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