Skip to content
pixi-silk
GitHub repository
Interface

SnapGuidesOptions

import type { SnapGuidesOptions } from 'pixi-silk/ui/snap';

Options of SnapGuides.

Properties#

PropertyTypeDescriptionDefined in
color?string | numberLine colour, also the pill fill. Default 0xff375f.ui/snap.ts:332
precision?numberDigits after the point in readouts. Default 0.ui/snap.ts:336
readouts?booleanDraws spacing values in pills. Default true.ui/snap.ts:334
ticker?Ticker | nullTicker that runs fades and redraws. Default Ticker.shared. With null, call SnapGuides.tick yourself.ui/snap.ts:338