Skip to main content

Interface: NoteSvgProps

Props of NoteSvg.

Properties​

badge?​

badge?: string;

Text badge at the note's top right.


box​

box: Box;

Where to draw it (geometry.nodes[note.id]).


dimmed?​

dimmed?: boolean;

Draw at reduced opacity (not part of the current highlight).


idPrefix?​

idPrefix?: string;

Prefix of the ids of the clip path and fade (unique per diagram on a page). Default rv.


measure?​

measure?: TextMeasure;

Text measurement used to wrap the text. Default: the built-in width estimate.


note​

note: StickyNote;

The sticky note to draw.


shadowFilter?​

shadowFilter?: string | null;

id of a <filter> in scope for the card shadow.


tone?​

tone?: DecorationTone;

Decoration tone (ring + tint; removed: dashed, 60% opacity).