Properties
AllowGuestControl | Whether to allow non-Master players to control the para art board (read-only). |
brushMinSize | The minimum value of the brush size. |
brushMaxSize | The maximum value of the brush size. |
eraserMinSize | The minimum value of the eraser size. |
eraserMaxSize | The maximum value of the eraser size. |
maxHVGA | The resolution of the art board. |
brushColor | The color list of the brush. |
textColor | The color list of the text. |
backgroundColor | The color value of the background. |
Events
onBackgroundChanged | Triggered when the background color is changed. |
onLoadComplete | Triggered when the web data synchronization is completed. |
Methods
SetAllowGuestControl | Sets whether to allow non-Master players to control the para art board. |
SetBrushColor | Sets the brush color. The input parameter is the index that corresponds to the color selected from the color list. |
SetTextColor | Sets the text color. The input parameter is the index that corresponds to the color selected from the color list. |
SetBackgroundColor | Sets the background color. The input parameter is the index that corresponds to the color selected from the color list. |
SetCurrentMode | Sets the mode of the art board. (1: brush; 2: text editing; 3: background) |
SetBrush | Sets the brush mode. |
SetEraser | Sets the eraser mode. |
GetBrushSizeValue | Gets the brush size. |
GetEraserSizeValue | Gets the eraser size. |