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