stroke_rect method

stroke_rect

Strokes the specified rectangular area.

def stroke_rect(self, x, y, width, height):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the top-left corner of the rectangle.
yfloatThe y-coordinate of the top-left corner of the rectangle.
widthfloatThe width of the rectangle.
heightfloatThe height of the rectangle.

See Also