@mocanvas/mocanvas · interface
interface GeoShapePropsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 18
align: DefaultHorizontalAlignStylecolor: DefaultColorStyledash: DefaultDashStylefill: DefaultFillStyleflipX: booleanMirror the silhouette left-to-right inside the shape's own box.
Not a transform: x, y, w, h and the label are untouched, so a
flipped shape covers exactly the same bounds and still reads right way up.
Symmetric silhouettes (a rectangle, an ellipse) are unchanged by it.
flipY: booleanMirror the silhouette top-to-bottom; see GeoShapeProps.flipX.
font: DefaultFontStylegeo: GeoShapeKindgrowY: numberh: numberlabelColor: DefaultColorStylerichText: RichTextThe label as a rich-text document; see NoteShapeProps.richText.
scale: numbersize: DefaultSizeStyletext?: stringThe label as plain text — optional and derived; see NoteShapeProps.text.
url: stringverticalAlign: DefaultVerticalAlignStylew: numbermocanvas 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.