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)
  3. void drawRectangleRounded(Point upperLeft, Point lowerRight, int borderRadius)
    struct ScreenPainter
    void
    drawRectangleRounded

Bugs

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

Meta

History

Added August 3, 2024