Interface Alignment2D

Like Alignment, but for both the horizontal and vertical axes. Each axis can also be a ratio.

interface Alignment2D {
    horizontal: number | Stretch | SoftStretch;
    vertical: number | Stretch | SoftStretch;
}

Properties

Properties

horizontal: number | Stretch | SoftStretch

The alignment of the horizontal axis

vertical: number | Stretch | SoftStretch

The alignment of the vertical axis