contains method

bool contains(
  1. Offset point
)

Whether the point specified by the given offset (which is assumed to be relative to the origin) lies inside the rounded superellipse.

Implementation

bool contains(Offset point) {
  return _native().contains(point);
}