CanvasGridState
import type { CanvasGridState } from 'pixi-silk/ui/grid';
The reactive state of a CanvasGrid. Write to these signals to change the grid.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
axes | Signal<boolean> | Shows the x = 0 and y = 0 axes. Switches at once, without a fade. | ui/grid.ts:66 |
style | Signal<GridStyle> | Lines or dots. Changes crossfade. | ui/grid.ts:62 |
visible | Signal<boolean> | Shows or hides the grid with a fade. Starts true. Separate from the container’s visible. | ui/grid.ts:64 |