Note that this is a linear function so it is necessary to calculate separately for x, y components of a polygon.
Used internally by Path, ExtrudeGeometry and ShapeGeometry.
Note that this is a linear function so it is necessary to calculate separately for x, y components of a polygon.