[]
type LineObjectToolOptions = object;
Default style options for Line 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 startCapStyle: LineCapStyle;
Cap style applied to the start endpoint of the line.
optional endCapStyle: LineCapStyle;
Cap style applied to the end endpoint of the line.
optional capSize: number;
Size of the endpoint caps in pixels.
optional capColor: string;
Color of the endpoint caps. When omitted, matches the line color.