Skip to content

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

Function: isDrawnAtLocked() ​

isDrawnAtLocked(node, point): boolean

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

A visible shape of a node is drawn at a point, also when it is locked (konva draws hits of listening nodes only)

Parameters ​

node ​

Node

shape or group, locked or in a locked group

point ​

Vector2d

absolute position (pointer)

Returns ​

boolean

true when one of its visible shapes is drawn at the point