drawRoundRect


procedure drawRoundRect(x, y, width, height, arcWidth, arcHeight: integer);

Draws the outline of the specified rounded corner rectangle.

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

See also: fillRoundRect, setColor, repaint