Skip to content
pixi-silk
GitHub repository
Interface

Redline

import type { Redline } from 'pixi-silk/ui/measure';

One redline, in the measured space.

Properties#

PropertyTypeDescriptionDefined in
guides[number, number, number, number][]Dashed extension lines as [x0, y0, x1, y1], for gaps that run past the other box’s edge. Often empty.ui/measure.ts:78
valuenumberLength of the line, the distance the label shows. 0 for boxes that touch.ui/measure.ts:76
x0numberStart x.ui/measure.ts:68
x1numberEnd x.ui/measure.ts:72
y0numberStart y.ui/measure.ts:70
y1numberEnd y.ui/measure.ts:74