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
URL of the image to draw inside the button, if applicable
optionalHoveringText: string
Text of the tooltip, if applicable
optionalDisabled: boolean
Disables the hovering options if set to true
Returns void
- Nothing
Draws a button component