graphinglib.Polygon.translate# Polygon.translate(dx: float, dy: float) → Self | None[source]# Translates the polygon by the specified amount. Parameters: dxfloatThe amount to move the polygon in the x direction. dyfloatThe amount to move the polygon in the y direction.