SnapRect
import type { SnapRect } from 'pixi-silk/ui/snap';
Axis-aligned rectangle in the snapping space. Targets are compared by identity in exclude.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
height | number | Height, 0 for a point. | ui/snap.ts:17 |
width | number | Width, 0 for a point. | ui/snap.ts:15 |
x | number | Left edge. | ui/snap.ts:11 |
y | number | Top edge. | ui/snap.ts:13 |