# GraffitiEditorFormat
Class
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Alignments | Justify <br> Left <br> Center <br> Right | Supported text or element alignment values. |
| Blocks | Paragraph <br> Blockquote <br> Code <br> Heading1 <br> Heading2 <br> Heading3 <br> Heading4 <br> Heading5 <br> Heading6 | Supported block elements. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Attributes | Hidden | fromJSON | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Alignment | Alignments | Nil | Alignments of the currently selected text/position in the Editor. |
| Attributes | mParent | GraffitiEditor | |
| Block | Blocks | Nil | Current block-level element classification. |
| Bold | Boolean | Nil | Font weight of the currently selected text/position. |
| FontColor | Color | Nil | Font color of the currently selected text/position. |
| FontFace | String | Nil | Font face of the currently selected text/position. |
| FontSize | Integer | Nil | Font size of the currently selected text/position. |
| HighlightColor | Color | Nil | Background color of the currently selected text/position. |
| Italic | Boolean | Nil | Determines whether the currently selected text/position is italicized. |
| LineHeight | Double | Nil | Height of lines within the Editor applied to current selection. |
| Strikethrough | Boolean | Nil | Determines whether the currently text/position has a horizontal line through the text. |
| Subscript | Boolean | Nil | When True the currently selected text/position is below the normal baseline. |
| Superscript | Boolean | Nil | When True the currently selected text/position is above the normal baseline. |
| Underline | Boolean | Nil | Determines whether the currently selected text/position has a horizontal line below the text. |