File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,9 @@ def align_to(
479479
480480 return new_geom
481481
482- def align_center (self , align_to : Optional [Union [Geometry , Tuple [float , float ]]] = None ):
482+ def align_center (
483+ self , align_to : Optional [Union [Geometry , Tuple [float , float ]]] = None
484+ ):
483485 """
484486 Returns a new Geometry object, translated in both x and y, so that the
485487 the new object's centroid will be aligned with the centroid of the object
@@ -1575,7 +1577,7 @@ def align_center(
15751577 """
15761578 Returns a new CompoundGeometry object, translated in both x and y, so that the
15771579 center-point of the new object's material-weighted centroid will be aligned with
1578- centroid of the object in 'align_to'. If 'align_to' is an x, y coordinate, then
1580+ centroid of the object in 'align_to'. If 'align_to' is an x, y coordinate, then
15791581 the centroid will be aligned to the coordinate. If 'align_to' is None then the new
15801582 object will be aligned with its centroid at the origin.
15811583
You can’t perform that action at this time.
0 commit comments