scale#

EdbPolygon.scale(factor, center=None)[source]#

Scales the polygon relative to a center point by a factor.

Parameters:
factorfloat

Scaling factor.

centerList of float or str [x,y], optional

If None scaling is done from polygon center.

Returns:
bool

True when successful, False when failed.