@mocanvas/editor · function

getNotVisibleShapes

declare function getNotVisibleShapes(editor: Editor): Set<ShapeId>

Shapes on the current page that are not on screen — off the edge of the viewport, or clipped away entirely by an ancestor.

Not the same as getCulledShapes: this set includes shapes the renderer must draw anyway.

Mentioned here

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.