Document Solutions Image Viewer
    Preparing search index...

    Type Alias BracketsObjectToolOptions

    Default style options for Brackets objects.

    type BracketsObjectToolOptions = {
        lineWidth?: number;
        lineColor?: string;
        opacity?: number;
        rotation?: number;
        bracketsShape?: BracketShape;
        arrowDirection?: BracketDirection;
        showLeftBracket?: boolean;
        showRightBracket?: boolean;
        bracketWidth?: number;
        curveIntensity?: number;
        arrowIntensity?: number;
    }

    Properties

    lineWidth?: number

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

    lineColor?: string

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

    opacity?: number

    Object opacity as a percentage (0–100).

    rotation?: number

    Object rotation in degrees.

    bracketsShape?: BracketShape

    Visual shape preset applied to both bracket arms.

    arrowDirection?: BracketDirection

    Direction of the arrows on the bracket arms.

    showLeftBracket?: boolean

    Whether to render the left bracket arm.

    showRightBracket?: boolean

    Whether to render the right bracket arm.

    bracketWidth?: number

    Width of each bracket arm in pixels.

    curveIntensity?: number

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

    arrowIntensity?: number

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