x
, y
: top left corner of the rectangle.w
, h
: width and height.r
: radius of the rounded corners.corners
: numbers of the corners to be rounded: 1, 2, 3, 4 or any combination
(1=top left, 2=top right, 3=bottom right, 4=bottom left).style
: same as Rect(): F, D (default), FD or DF.