ShapeStyle
Defined in: src/core/types.ts:722
Style options for shape objects (rectangles, paths).
Properties
Section titled “Properties”
optionalfill:Colour
Defined in: src/core/types.ts:724
Fill colour. If omitted, no fill.
stroke?
Section titled “stroke?”
optionalstroke:Colour
Defined in: src/core/types.ts:726
Stroke colour. If omitted, no stroke.
strokeWidth?
Section titled “strokeWidth?”
optionalstrokeWidth:number
Defined in: src/core/types.ts:728
Stroke width in points (default: 1).