containsPoint method
Checks whether the represented circle contains the point
.
Implementation
@override
bool containsPoint(Vector2 point) {
final scaledRadius = this.scaledRadius;
return absoluteCenter.distanceToSquared(point) <
scaledRadius * scaledRadius;
}