@mocanvas/editor · type
type TLShapeVisibility = "inherit" | "hidden" | "visible"What the host may say about one shape's visibility.
"inherit" (and null / undefined) defer to the shape's parent, so hiding
a frame hides what is inside it; "visible" overrides an ancestor that was
hidden, which is what makes "hide everything except this layer" expressible.
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.