[]
        
(Showing Draft Content)

BracketsObjectToolOptions

Type Alias: BracketsObjectToolOptions

type BracketsObjectToolOptions = object;

Default style options for Brackets 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.


bracketsShape?

optional bracketsShape: BracketShape;

Visual shape preset applied to both bracket arms.


arrowDirection?

optional arrowDirection: BracketDirection;

Direction of the arrows on the bracket arms.


showLeftBracket?

optional showLeftBracket: boolean;

Whether to render the left bracket arm.


showRightBracket?

optional showRightBracket: boolean;

Whether to render the right bracket arm.


bracketWidth?

optional bracketWidth: number;

Width of each bracket arm in pixels.


curveIntensity?

optional curveIntensity: number;

Curve intensity for 'curly' and 'round' bracket shapes, as a percentage (0–100). Higher values produce more pronounced curves.


arrowIntensity?

optional arrowIntensity: number;

Arrow flare intensity for the bracket arms, as a percentage (0–100). Higher values produce more pronounced arrow tips.