# TextObjectToolOptions

## Content

# Type Alias: TextObjectToolOptions

```ts
type TextObjectToolOptions = object;
```

Default style options for Text objects.

## Properties

### fontSize?

```ts
optional fontSize: number;
```

Font size in points.

#### Default

```ts
14
```

***

### fontName?

```ts
optional fontName: string;
```

Font family name.
Must be one of the fonts listed in [PaintToolsPluginOptions.fontNames](PaintToolsPluginOptions#fontnames).

#### Default

```ts
'Verdana'
```

***

### fontColor?

```ts
optional fontColor: string;
```

Font color.

#### Default

```ts
'#000000'
```

***

### fontOpacity?

```ts
optional fontOpacity: number;
```

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

#### Default

```ts
100
```

***

### fontItalic?

```ts
optional fontItalic: boolean;
```

Whether the text is italic.

#### Default

```ts
false
```

***

### fontBold?

```ts
optional fontBold: boolean;
```

Whether the text is bold.

#### Default

```ts
false
```

***

### opacity?

```ts
optional opacity: number;
```

Object opacity as a percentage (0–100).

***

### rotation?

```ts
optional rotation: number;
```

Object rotation in degrees.
