Skip to main content

Align enum

Namespace: Arlecchino.Rendering · Assembly: Arlecchino.Core

Where text or a block sits inside the space it is drawn into. Horizontal and vertical flags combine, so Align.Right | Align.Bottom anchors to a corner.

[Flags]
public enum Align : byte

Fields

NameValueSummary
Left1Against the left edge of the content area.
Center2Centered horizontally in the content area.
Right4Against the right edge of the content area.
Top8Against the top edge. Only block and region calls honor the vertical flags.
Middle16Centered vertically.
Bottom32Against the bottom edge.