@mocanvas/editor · function
declare function isShapeHidden(editor: Editor, shape: ShapeRef | undefined): booleanWhether the host has hidden this shape.
Resolves "inherit" up the parent chain, so the question is answered for the
shape *in its context* rather than in isolation. With no getShapeVisibility
configured nothing is ever hidden and this is a cheap false.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.