Share via


SKLabelVerticalAlignmentMode Enum

Definition

An enumeration whose values specify vertical alignment of a SKLabelNode. Used with VerticalAlignmentMode

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

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.

Applies to