# GraffitiEditorFormat
Class
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### iOS
| 32-Bit | 64-Bit |
| :---: | :---: |
| False | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Alignments | Justify <br> Left <br> Center <br> Right | Possible element or text alignment values. |
| Blocks | Paragraph <br> Blockquote <br> Code <br> Heading1 <br> Heading2 <br> Heading3 <br> Heading4 <br> Heading5 <br> Heading6 | Possible block types. |
| ListTypes | None <br> Ordered <br> Unordered | Possible list types. |
## 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. |
| LinkTarget | String | Nil | The Target of the currently selected link. If the currently selected element in the Editor is not a link then this property returns an empty string and does not set a value. |
| LinkTitle | String | Nil | The Title of the currently selected link. If the currently selected element in the Editor is not a link then this property returns an empty string and does not set a value. |
| LinkURL | String | Nil | The URL of the currently selected link. If the currently selected element in the Editor is not a link then this property returns an empty string and does not set a value. |
| ListType | ListTypes | Nil | Determines the current list type. |
| 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. |