interface RectFill

Properties to be provided with fillRect.

Properties
fill, height, rx, ry, width, x, y

Properties

fill

Fill the rectangle with a color, gradient or pattern.

Type:
FillStyle
height

The rectangle’s height.

Type:
number
rx
optional

Corner radius on the x-axis.

Type:
number
ry
optional

Corner radius on the y-axis.

Type:
number
width

The rectangle’s width.

Type:
number
x

X-axis coordinate of the rectangle’s starting point.

Type:
number
y

Y-axis coordinate of the rectangle’s starting point.

Type:
number