clear_rect method

clear_rect

Clears the specified rectangular area to transparent.

def clear_rect(self, x, y, w, h):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the top-left corner of the area to clear.
yfloatThe y-coordinate of the top-left corner of the area to clear.
wfloatThe width of the area to clear.
hfloatThe height of the area to clear.

See Also