Grx.draw_rounded_box
@accepts(int, int, int, int, int, Grx.Color) @returns(none) def draw_rounded_box(x1, y1, x2, y2, r, c): # Python wrapper for grx_draw_rounded_box()
Draws a rectangle with rounded corners on the current context using the specified coordinates and color.
- x1
the left X coordinate
- y1
the top Y coordinate
- x2
the right X coordinate
- y2
the bottom Y coordinate
- r
the radius of the corners
- c
the color