containsLocalPoint method
Tests whether the given point lies within the viewport.
This method must be consistent with the action of clip, in the sense that containsLocalPoint must return true if and only if that point on the canvas is not clipped by clip.
Implementation
@override
bool containsLocalPoint(Vector2 point) {
final fx = point.x / _radiusX - 1;
final fy = point.y / _radiusY - 1;
return fx * fx + fy * fy <= 1;
}