Document Solutions Image Viewer
    Preparing search index...

    Type Alias TextObjectToolOptions

    Default style options for Text objects.

    type TextObjectToolOptions = {
        fontSize?: number;
        fontName?: string;
        fontColor?: string;
        fontOpacity?: number;
        fontItalic?: boolean;
        fontBold?: boolean;
        opacity?: number;
        rotation?: number;
    }

    Properties

    fontSize?: number

    Font size in points.

    14
    
    fontName?: string

    Font family name. Must be one of the fonts listed in PaintToolsPluginOptions.fontNames.

    'Verdana'
    
    fontColor?: string

    Font color.

    '#000000'
    
    fontOpacity?: number

    Opacity of the text characters as a percentage (0–100).

    100
    
    fontItalic?: boolean

    Whether the text is italic.

    false
    
    fontBold?: boolean

    Whether the text is bold.

    false
    
    opacity?: number

    Object opacity as a percentage (0–100).

    rotation?: number

    Object rotation in degrees.