ui.draw - Windower/packages GitHub Wiki
The ui.draw
table contains functions for drawing basic graphical primitives.
It contains the following entries:
- ui.draw.rectangle : Draws a simple rectangle with a specified location, size, and color.
function ui.draw.rectangle(x : number, y : number, width : number, height : number, color : color_value)
x number
The x-coordinate position for the top left corner of the rectangle.
y number
The y-coordinate position for the top left corner of the rectangle.
width number
The width of the rectangle.
height number
The height of the rectangle.
color color_value
The color in which the rectangle should be drawn.
This function does not return any values.