SnapGuidesOptions
import type { SnapGuidesOptions } from 'pixi-silk/ui/snap';
Options of SnapGuides.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | string | number | Line colour, also the pill fill. Default 0xff375f. | ui/snap.ts:332 |
precision? | number | Digits after the point in readouts. Default 0. | ui/snap.ts:336 |
readouts? | boolean | Draws spacing values in pills. Default true. | ui/snap.ts:334 |
ticker? | Ticker | null | Ticker that runs fades and redraws. Default Ticker.shared. With null, call SnapGuides.tick yourself. | ui/snap.ts:338 |