The OpenD Programming Language

ScreenPainter.drawRectangleRounded

Draws a rectangle with rounded corners. It is outlined with the current foreground pen and filled with the current background brush.

  1. void drawRectangleRounded(Rectangle rect, int borderRadius)
  2. void drawRectangleRounded(Point upperLeft, Size size, int borderRadius)
    struct ScreenPainter
    void
    drawRectangleRounded
  3. void drawRectangleRounded(Point upperLeft, Point lowerRight, int borderRadius)

Bugs

Not implemented on Mac; it will instead draw a non-rounded rectangle for now.

Meta

History

Added August 3, 2024