[]
type BracketsObjectToolOptions = object;
Default style options for Brackets objects.
optional arrowDirection?: BracketDirection;
Direction of the arrows on the bracket arms.
optional arrowIntensity?: number;
Arrow flare intensity for the bracket arms, as a percentage (0–100). Higher values produce more pronounced arrow tips.
optional bracketsShape?: BracketShape;
Visual shape preset applied to both bracket arms.
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 lineColor?: string;
Stroke color. When omitted, falls back to ToolsOptions.lineColor.
optional lineWidth?: number;
Stroke width in pixels. When omitted, falls back to ToolsOptions.lineWidth.
optional opacity?: number;
Object opacity as a percentage (0–100).
optional rotation?: number;
Object rotation in degrees.
optional showLeftBracket?: boolean;
Whether to render the left bracket arm.
optional showRightBracket?: boolean;
Whether to render the right bracket arm.