import type { IslandMagnet } from 'pixi-silk/ui/island';
How the lip of an Island leans toward a pointer.
Properties#
| Property | Type | Description | Defined in |
|---|
depth? | number | Extra depth with the pointer on the lip. Default 8. | packages/pixi-silk/src/ui/island/Island.ts:131 |
radius? | number | Distance at which it starts to lean, local units. Default 120. | packages/pixi-silk/src/ui/island/Island.ts:129 |
slide? | number | Largest slide along the edge toward the pointer. Default 14. | packages/pixi-silk/src/ui/island/Island.ts:133 |