@mocanvas/editor · interface
interface Geometry2dOptionsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 8
debugColor?: string | undefinedStroke colour for the geometry debug overlay. Has no effect on rendering.
excludeFromShapeBounds?: boolean | undefinedKeep this part out of the owning shape's bounds. A heading that hangs outside its container is still hit-testable, but must not inflate the bounds every zoom-to-fit, align and export reads.
ignore?: boolean | undefinedSkip this geometry entirely when hit-testing.
isClosed: booleanisEmptyLabel?: boolean | undefinedThe label is empty, so it should not be hit-tested as if it had text in it.
isFilled: booleanisInternal?: boolean | undefinedThis geometry exists to make something interactive, not to be drawn — a
widened hit area, a drag target. Excluded by EXCLUDE_INTERNAL.
isLabel?: boolean | undefinedThis geometry is a text label rather than part of the shape's outline.
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.