import type { AlignLine } from 'pixi-silk/ui/spacing';
An alignment line. All values are in the boxes’ space.
Properties#
| Property | Type | Description | Defined in |
|---|
at | number | Position of the line. | ui/spacing.ts:30 |
axis | "x" | "y" | x is a vertical line at x = at, y a horizontal line at y = at. | ui/spacing.ts:26 |
from | number | Start of the line across axis, covering every box that lines up. | ui/spacing.ts:32 |
kind | "edge" | "centre" | Whether edges or centres line up. | ui/spacing.ts:28 |
to | number | End of the line across axis. | ui/spacing.ts:34 |