[]
        
(Showing Draft Content)

TextObjectToolOptions

Type Alias: TextObjectToolOptions

type TextObjectToolOptions = object;

Default style options for Text objects.

Properties

fontBold?

optional fontBold?: boolean;

Whether the text is bold.

Default

false

fontColor?

optional fontColor?: string;

Font color.

Default

'#000000'

fontItalic?

optional fontItalic?: boolean;

Whether the text is italic.

Default

false

fontName?

optional fontName?: string;

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

Default

'Verdana'

fontOpacity?

optional fontOpacity?: number;

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

Default

100

fontSize?

optional fontSize?: number;

Font size in points.

Default

14

opacity?

optional opacity?: number;

Object opacity as a percentage (0–100).


rotation?

optional rotation?: number;

Object rotation in degrees.