GraffitiSuite Docs
Docs
Graffitiuicontrol
Loading document parsing libraries...
# GraffitiUIControl Class Inherits GraffitiSuite.BaseCanvas ## Attributes | Name | Value | | --- | --- | | HideFromLibrary | | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | FontStyles | None <br> Bold <br> Italic | | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Opening | (None) | (None) | | | Paint | g as Graphics | (None) | | | PointerDoublePress | position as Point <br> pointerInfo() as PointerEvent | (None) | | | PointerDown | position as Point <br> pointerInfo() as PointerEvent | Boolean | | | PointerDrag | position as Point <br> pointerInfo() as PointerEvent | Boolean | | | PointerLongPress | position as Point <br> pointerInfo() as PointerEvent | (None) | | | PointerPress | position as Point <br> pointerInfo() as PointerEvent | (None) | | | PointerUp | position as Point <br> pointerInfo() as PointerEvent | Boolean | | | Resized | (None) | (None) | | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | (None) | (None) | Creates a new instance of the class. | ## Shared Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | BitmapForCaching | width as Double <br> height as Double <br> scale as Point | Picture | | | ColorizeImage | p as Picture <br> c as Color | Picture | | | DrawGradient | g as Graphics <br> StartColor as Color <br> EndColor as Color <br> Optional TopToBottom as Boolean = True | (None) | | | GetFont | startFontName as String <br> startFontSize as Double <br> startFontStyle as GraffitiUIControl.FontStyles | Font | |