Selection store and bindOutline, bindGizmo, bindMeasure.
import { Selection, bindGizmo, bindMeasure, bindOutline } from 'pixi-silk/selection';
Classes#
| Class | Description |
|---|
| Selection | The selected set of an editor, ordered by when each item was picked. |
Interfaces#
Type Aliases#
| Type Alias | Description |
|---|
| SelectMode | How a pick changes the selection. |
Functions#
| Function | Description |
|---|
| bindGizmo | Attaches gizmo to the primary item. Returns the function that stops following. |
| bindMeasure | Shows the primary item’s size and the distances to the hovered item with measure. Call the returned sync again when a condition of between changes (a modifier key). The returned stop stops following. |
| bindOutline | Frames the selection with outline. Pass a second outline to show the hovered item too, while it is not selected. Returns the function that stops following. |