Hollow Rounded Box

Is there a function to draw a hollow rounded box? I want to be able to specify the corner value and thickness.

Like this:





Rounded box.

Aasdf, didn’t notice that, my fault.

Also, thickness of the line isn’t customizable.

Does it have to be transparent? If not you can draw a rounded box on top of another.

I just used draw.RoundedBox and apparently they overwrite each other even with transparency. Anyway, what I got looked better than what I wanted.

Set the background’s box to an alpha of something like 30 or 45, then set the box on top to 255.