topPoint property
Get the furthest top point of the polygon
Implementation
Point get topPoint =>
vertices.reduce((cur, next) => cur.y >= next.y ? cur : next);
Get the furthest top point of the polygon
Point get topPoint =>
vertices.reduce((cur, next) => cur.y >= next.y ? cur : next);