Polygon.translate

Polygon.translate(y: float = 0, z: float = 0)[source]

Translate the polygon.

Parameters:
  • y (float, optional) – Translation along the y axis.

  • z (float, optional) – Translation along the z axis.