DrawButton
Callable
Parameters
Left: number
Position of the component from the left of the canvas
Top: number
Position of the component from the top of the canvas
Width: number
Width of the component
Height: number
Height of the component
Label: string
Text to display in the button
Color: string
Color of the component
optionalImage: string = null
URL of the image to draw inside the button, if applicable
optionalHoveringText: string = null
Text of the tooltip, if applicable
optionalDisabled: boolean = false
Disables the hovering options if set to true
Returns void
- Nothing
Draws a button component