# GraffitiSignature
Class Inherits GraffitiSuite.BaseCanvas
## About
GraffitiSignature is a class designed to make getting customer signatures using touch-enabled devices or mouse easy.Features:
*
Variable colors for all components
*
Timer- or Drag-based capture
*
BASE64 export
## Preview


Previous
Next
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Attributes
| Name | Value |
| --- | --- |
| DefaultEvent | "Changed" |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Methods | Timer <br > DragEvent | Supported capture method models. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Changed | (None) | (None) | Fired when the user has complete a draw operation. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Clear | (None) | (None) | Clears the dispalay. |
| toBASE64 | (None) | String | Returns the current picture value as a BASE64 sting. |
| toPicture | IncludeBackground as Boolean = True <br> IncludeBorder as Boolean = True <br> IncludeGuide as Boolean = True <br> PenColor as Color = &c000000 | Picture | Returns the current picture value. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| BackgroundColor | Color | (None) | Color used to fill the display. |
| BorderColor | Color | (None) | Color of the border for the component. |
| CaptureMethod | Methods | (None) | Determines how the draw operation is handled internally. Timer may use fewer CPU cycles than Drag, but may be less accurate. |
| DrawGuide | Boolean | (None) | When True, will draw a line at the bottom with a “x” denote where to sign. |
| GuideColor | Color | (None) | Color used to draw the guide. |
| PenColor | Color | (None) | Color used for the signature. |
| PenSize | Integer | (None) | Size of the pen to use. When set 0 or less the current display's ScaleFactor will be used. |