Draw rounded rectangle

Is there a built in way to draw rounded rectangles like the rect() function?
I figure a image would be easiest if such function does not exist, but I am curious.

So simple question, I require a simple answer. :slight_smile:
Sincerely akaJag.

@akaJag here are a couple links that should do what you want:

roundRect() code:


@Reefwing’s rounded rectangle tutorial


Thank you very much! :smiley: