[]
type BracketsObjectToolOptions = object;
Default style options for Brackets 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 bracketsShape: BracketShape;
Visual shape preset applied to both bracket arms.
optional arrowDirection: BracketDirection;
Direction of the arrows on the bracket arms.
optional showLeftBracket: boolean;
Whether to render the left bracket arm.
optional showRightBracket: boolean;
Whether to render the right bracket arm.
optional bracketWidth: number;
Width of each bracket arm in pixels.
optional curveIntensity: number;
Curve intensity for 'curly' and 'round' bracket shapes, as a percentage (0–100).
Higher values produce more pronounced curves.
optional arrowIntensity: number;
Arrow flare intensity for the bracket arms, as a percentage (0–100). Higher values produce more pronounced arrow tips.