[]
        
(Showing Draft Content)

LineObjectToolOptions

Type Alias: LineObjectToolOptions

type LineObjectToolOptions = object;

Default style options for Line objects.

Properties

lineWidth?

optional lineWidth: number;

Stroke width in pixels. When omitted, falls back to ToolsOptions.lineWidth.


lineColor?

optional lineColor: string;

Stroke color. When omitted, falls back to ToolsOptions.lineColor.


opacity?

optional opacity: number;

Object opacity as a percentage (0–100).


rotation?

optional rotation: number;

Object rotation in degrees.


startCapStyle?

optional startCapStyle: LineCapStyle;

Cap style applied to the start endpoint of the line.


endCapStyle?

optional endCapStyle: LineCapStyle;

Cap style applied to the end endpoint of the line.


capSize?

optional capSize: number;

Size of the endpoint caps in pixels.


capColor?

optional capColor: string;

Color of the endpoint caps. When omitted, matches the line color.