GraffitiSuite Docs
Docs
Graffitieditorstyle
Loading document parsing libraries...
# GraffitiEditorStyle 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 | | --- | :---: | --- | | Types | Segment <br> Block | Supported style types. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | Type as Types <br> Name as String <br> DisplayName as String <br> CSS as String | (None) | Creates a new instance of the object. | | Attributes | Hidden = True | toCSS | | | Attributes | Hidden = True | toJSON | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | CSS | String | Nil | CSS applied to the selection content when this Style is selected by the user. | | DisplayName | String | Nil | Text shown for this item in the Styles dropdown on the Toolbar. | | Name | String | Nil | Internal name, must be unique. | | Tag | Variant | Nil | Developer storage. | | Type | Types | Nil | Style type. |