Skip to main content

exaggerate_polygon

Function exaggerate_polygon 

Source
pub fn exaggerate_polygon(
    poly: &Polygon,
    options: &ExaggerateOptions,
) -> Polygon
Expand description

Exaggerates all rings of poly uniformly from the polygon’s anchor.

Both the exterior ring and every interior (hole) ring are scaled.

§Arguments

  • poly – Source polygon.
  • options – Exaggeration parameters.