drawRect


procedure drawRect(x, y, width, height: integer);

Draws the outline of the specified rectangle.

  begin
    drawRect(5, 5, 20, 20);
    repaint;
    delay(1000);
  end.


See also: fillRect, setColor, repaint