linerectangle module#

line_rectangle(width, height, line_width, transform=Transform((0, 0), 0, (1, 1)), anchor=Anchor.C)[source]#

Create a polyline that represents a rectangle with lines.

Return type:

Shape[Polyline]

Parameters: