RRECT

rrect( x, y, w, h, r, color )
rrect = rounded rectangle
x |
number of pixels from the left going right for the first corner |
y |
number of pixels from the top going down for the first corner |
w |
number of pixels wide |
h |
number of pixels tall |
r |
radius for curvature of corners |
color |
(optional) a color number |

![]()
rrectfill( x, y, w, h, r, color )
rrectfill = rounded rectangle filled
x |
number of pixels from the left going right for the first corner |
y |
number of pixels from the top going down for the first corner |
w |
number of pixels wide |
h |
number of pixels tall |
r |
radius for curvature of corners |
color |
(optional) a color number |

![]()
Images in this Guide by NerdyTeachers is licensed under CC BY-SA 4.0

8
21 Dec 2025

