Method Area
Area(IList<SKPoint>)
Calculates the signed area of a polygon defined by a list of points using the shoelace formula.
public static float Area(IList<SKPoint> polygon)
Parameters
Returns
- float
The signed area of the polygon. Returns 0 if the polygon has fewer than 3 points.
Exceptions
- ArgumentNullException
polygonisnull.