[]
type RectangleObjectToolOptions = object;
Default style options for Rectangle objects.
optional lineWidth: number;
Stroke width in pixels. When omitted, falls back to ToolsOptions.lineWidth.
optional lineColor: string;
Stroke color. When omitted, falls back to ToolsOptions.lineColor.
optional opacity: number;
Object opacity as a percentage (0–100).
optional rotation: number;
Object rotation in degrees.
optional fillColor: string;
Fill color.
Use 'transparent' or a color with zero alpha for outline-only rectangles.
When omitted, falls back to ToolsOptions.fillColor.
optional borderRadius: number;
Corner radius in pixels. Use 0 for sharp corners.