Method Perimeter
Perimeter(IList<SKPoint>)
Calculates the perimeter of a polygon defined by a list of points.
public static float Perimeter(IList<SKPoint> polygon)
Parameters
Returns
- float
The perimeter of the polygon. Returns 0 if the polygon has fewer than 2 points.
Exceptions
- ArgumentNullException
polygonisnull.