Skip to content

Enum Alignment

Definition

Namespace: StardewUI.Layout
Assembly: StardewUI.dll

Specifies an alignment (horizontal or vertical) for text or other layout.

public enum Alignment

Inheritance
ObjectValueTypeEnum ⇦ Alignment

Fields

Name Value Description
Start 0 Align to the start of the available space - horizontal left or vertical top.
Middle 1 Align to the middle of the available space.
End 2 Align to the end of the available space - horizontal right or vertical bottom.