Skip to content

@fabwcie/free-drawing / utils/hit / setupHit

Function: setupHit() ​

setupHit(node): void

Defined in: packages/free-drawing/src/utils/hit.ts:32

Hit region of a drawing shape (shapes added, loaded...), shapes of a group: as drawn, strokes wider

Parameters ​

node ​

Node

drawing shape or group (its shapes set up too)

Returns ​

void