fill_rect method

fill_rect

Fills a rectangle.

def fill_rect(self, x, y, width, height):
    ...
ParameterTypeDescription
xfloatX coordinate of upper left corner of the rectangle.
yfloatY coordinate of upper left corner of the rectangle.
widthfloatA width of the rectangle.
heightfloatA height of the rectangle.

See Also