Draw:Rect(x, y, width, height, color, destination)
Draws an outline of a rectangle.
Number x - desired
x location.
Number y - desired
y location.
-
Number height - desired
height.
Number color - desired
color of the outline.
Number destination - image buffer (or screen) to be drawn at.
destination parameter can either be an Image buffer or the screen.
function main() {
Var:Number colorYELLOW;
Konsol:RGB(255,255,0, colorYELLOW)
Screen:Show()
Draw:Rect(50, 50, 100, 30, colorYELLOW, screen)
while (B1 EQ false) {
Screen:Render()
}
}