# TextLayer.fontStyle
The font style used by this text layer (e.g. Regular, Bold, Italic).

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## TextLayer.fontStyle property

The font style used by this text layer. Must be a style that exists on the current `fontFamily`.

**Signature:**

```typescript
fontStyle: string;
```

## Example

```ts
textLayer.fontStyle = "Bold";
```
