Rectangle#
- zeroheliumkit.src.geometries.Rectangle(width: float, height: float, location: tuple | Point = None, direction: float = None, round_radius: float = None, **kwargs) Polygon[source]#
Returns a rectangle Polygon
- Parameters:
width (float) – width of the rectangle
height (float) – height of the rectangle
Example
>>> Rectangle(4, 2)