draw.FilledRect
Draw filled rectangle with top left point at x1, y1 and bottom right point at x2, y2.
Syntax
draw.FilledRect(int:x1, int:y1, int:x2, int:y2)
Parameters
integer:x1
First point number of x.
integer:y1
First point number of y.
integer:x2
Second point number of x, Changes Width.
integer:y2
Second point number of y, Changes Height.
Example
callbacks.Register("Draw", function()
draw.Color(255, 138, 130, 255);
draw.FilledRect(50, 50, 300, 200);
end)