> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TextBox

> TextBox data structure in NOTE.

| Field                | Type                                                    | Description                                        |
| -------------------- | ------------------------------------------------------- | -------------------------------------------------- |
| `fontSize`           | `number`                                                | font size                                          |
| `fontPath`           | `string \| null`                                        | Font path                                          |
| `textContentFull`    | `string \| null`                                        | Text content                                       |
| `textRect`           | [`Rect`](/en/api-reference/supernote-plugin/types/rect) | TextBox rectangle (pixels)                         |
| `textDigestData`     | `string \| null`                                        | Digest data (present on digest TextBox elements)   |
| `textAlign`          | `number`                                                | Alignment: `0` left, `1` center, `2` right         |
| `textBold`           | `number`                                                | Bold: `0` normal, `1` bold                         |
| `textItalics`        | `number`                                                | Italic: `0` normal, `1` italic                     |
| `textFrameWidthType` | `number`                                                | Border width type: `0` fixed width, `1` auto width |
| `textFrameStyle`     | `number`                                                | Border style: `0` none, `3` stroke                 |
| `textEditable`       | `number`                                                | Editable: `0` editable, `1` non-editable           |
