[]
        
(Showing Draft Content)

TextObjectToolOptions

Type Alias: TextObjectToolOptions

type TextObjectToolOptions = object;

Default style options for Text objects.

Properties

fontSize?

optional fontSize: number;

Font size in points.

Default

14

fontName?

optional fontName: string;

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

Default

'Verdana'

fontColor?

optional fontColor: string;

Font color.

Default

'#000000'

fontOpacity?

optional fontOpacity: number;

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

Default

100

fontItalic?

optional fontItalic: boolean;

Whether the text is italic.

Default

false

fontBold?

optional fontBold: boolean;

Whether the text is bold.

Default

false

opacity?

optional opacity: number;

Object opacity as a percentage (0–100).


rotation?

optional rotation: number;

Object rotation in degrees.