Düzenle

Aracılığıyla paylaş


SKLabelVerticalAlignmentMode Enum

Definition

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.

Applies to