SKLabelVerticalAlignmentMode 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 vertical alignment of a SKLabelNode. Used with VerticalAlignmentMode
public enum SKLabelVerticalAlignmentMode
type SKLabelVerticalAlignmentMode =
- Inheritance
-
SKLabelVerticalAlignmentMode
Fields
Name | Value | Description |
---|---|---|
Baseline | 0 | Place the baseline at the node's origin. |
Center | 1 | Place the text at the vertical center of the node. |
Top | 2 | Place the top of the text at the node's origin. |
Bottom | 3 | Place the bottom of the text at the node's origin. |