isPointInside method

bool isPointInside(
  1. Offset i
)

returns true if Point is present inside Polygon

Implementation

bool isPointInside(Offset i) {
  return contains(i.dx, i.dy);
}