# GraffitiCursor
Class Inherits GraffitiWebUIControl
## About
This component allows you to define custom cursors for web pages or controls, with support for animation.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Constants
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| FlipBoth | String | both | Value to flip both horizontally and vertically. |
| FlipHorizontal | String | horizontal | Value to flip horizontally. |
| FlipNone | String | (None) | Value to disable flip. |
| FlipVertical | String | vertical | Value to flip vertically. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Shown | (None) | (None) | (None) |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| SetBodyCursor | iconName as String <br> iconColor as Color = &c000000 <br> iconSize as Integer = 14 <br> hotspotX as Integer = 0 <br> hotspotY as Integer = 0 <br> iconFlip as String = FlipNone <br> iconRotate as Integer = 0 <br> iconOutline as Color = &c00000000 | (None) | Set the page's body cursor to a specified icon. |
| SetCursor | BindTo as WebControl <br> iconName as String <br> iconColor as Color = &c000000 <br> iconSize as Integer = 14 <br> hotspotX as Integer = 0 <br> hotspotY as Integer = 0 <br> iconFlip as String = FlipNone <br> iconRotate as Integer = 0 <br> iconOutline as Color = &c00000000 | (None) | Set the cursor of an object to a specified icon. |
| UnsetBodyCursor | (None) | (None) | Reverts the page's BODY tag's cursor to default. |
| UnsetCursor | boundTo as WebControl | (None) | Reverts the control's cursor to default. |