Example
Scale a Polygon’s Area
geometric.polygonScaleArea(polygon, scale[, origin]) returns the vertices resulting from scaling a polygon by a scaleFactor (where 1 is the polygon's current size) from an origin point. If origin is not specified, the origin defaults to the polygon's centroid.
The returned polygon's area is equal to the input polygon's area multiplied by the scaleFactor. To scale the polygon's area by the square of the scaleFactor, see geometric.polygonScale.
Adjust the scale factor to see polygonScaleArea resize the polygon's area from its centroid.
See also Polygon Scale.
Code