There was an error while loading. Please reload this page.
The ui.draw table contains functions for drawing basic graphical primitives.
ui.draw
It contains the following entries:
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.