fillRoundRect


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

Fills the specified rounded corner rectangle.

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

See also: drawRoundRect, setColor, repaint