@mocanvas/mocanvas · function
declare function getNoteShadowSvgRect(w: number, h: number, scale?: number): {
x: number;
y: number;
w: number;
h: number;
stdDeviation: number;
}The note shadow's geometry for an SVG export, in shape-local units.
feDropShadow has no spread, so the exporter draws the shadow as its own
rect — the body inset by the spread and offset down — behind the body, and
blurs just that rect.
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.