[]
        
(Showing Draft Content)

LineObjectToolOptions

Type Alias: LineObjectToolOptions

type LineObjectToolOptions = object;

Default style options for Line objects.

Properties

capColor?

optional capColor?: string;

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


capSize?

optional capSize?: number;

Size of the endpoint caps in pixels.


endCapStyle?

optional endCapStyle?: LineCapStyle;

Cap style applied to the end endpoint of the line.


lineColor?

optional lineColor?: string;

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


lineWidth?

optional lineWidth?: number;

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


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.