@mocanvas/mocanvas · function
declare function getGeoGrowY(props: Pick<GeoShapeProps, "text" | "font" | "size" | "scale" | "w" | "h"> & {
richText?: unknown;
}, editor?: {
getCurrentTheme?(): unknown;
} | null): numbergrowY a geo shape needs so its label fits inside h. Empty labels never grow the shape.
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.