Skip to content
pixi-silk
GitHub repository
Interface

GapMarker

import type { GapMarker } from 'pixi-silk/ui/spacing';

A gap marker between two boxes. All values are in the boxes’ space.

Properties#

PropertyTypeDescriptionDefined in
atnumberPosition across axis where the marker is drawn.ui/spacing.ts:18
axis"x" | "y"x is a horizontal gap, y a vertical one.ui/spacing.ts:12
fromnumberWhere the gap starts along axis.ui/spacing.ts:14
tonumberWhere the gap ends along axis.ui/spacing.ts:16
valuenumberSize of the gap, the number its pill shows.ui/spacing.ts:20