Skip to content

Vibe coding a plugin? 😎 Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

CanvasStyle

How a Canvas shape looks. A shape with an id reports clicks and drags on it in CanvasEvent.item.

optional fill?: Color | null

Fill of polygons, rectangles and circles; none by default.


optional id?: string


optional stroke?: Color | null

Outline or line color, or text color; null for none. Lines and outlines default to light gray.


optional width?: number

Line width in pixels; 1 by default.