[]
type LineObjectToolOptions = object;
Default style options for Line objects.
optional capColor?: string;
Color of the endpoint caps. When omitted, matches the line color.
optional capSize?: number;
Size of the endpoint caps in pixels.
optional endCapStyle?: LineCapStyle;
Cap style applied to the end endpoint of the line.
optional lineColor?: string;
Stroke color. When omitted, falls back to ToolsOptions.lineColor.
optional lineWidth?: number;
Stroke width in pixels. When omitted, falls back to ToolsOptions.lineWidth.
optional opacity?: number;
Object opacity as a percentage (0–100).
optional rotation?: number;
Object rotation in degrees.
optional startCapStyle?: LineCapStyle;
Cap style applied to the start endpoint of the line.