g.rect roundness can also be a number.

This number is then used for rx and ry.