[]
type TextObjectToolOptions = object;
Default style options for Text objects.
optional fontBold?: boolean;
Whether the text is bold.
false
optional fontColor?: string;
Font color.
'#000000'
optional fontItalic?: boolean;
Whether the text is italic.
false
optional fontName?: string;
Font family name. Must be one of the fonts listed in PaintToolsPluginOptions.fontNames.
'Verdana'
optional fontOpacity?: number;
Opacity of the text characters as a percentage (0–100).
100
optional fontSize?: number;
Font size in points.
14
optional opacity?: number;
Object opacity as a percentage (0–100).
optional rotation?: number;
Object rotation in degrees.