@fabwcie/free-drawing / utils/hit / isDrawnAt
Function: isDrawnAt()
isDrawnAt(
node,point):boolean
Defined in: packages/free-drawing/src/utils/hit.ts:60
A visible shape of a node is drawn at a point (absolute position): fill, stroke, text box
Parameters
node
Node
shape or group
point
Vector2d
absolute position (pointer)
Returns
boolean
true when the hit region of one of its visible shapes is at the point (not for locked shapes)