SKLabelHorizontalAlignmentMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |