containsPoint method

  1. @override
bool containsPoint(
  1. Vector2 point
)
override

Test whether the point (given in global coordinates) lies within this component. The top and the left borders of the component are inclusive, while the bottom and the right borders are exclusive.

Implementation

@override
bool containsPoint(Vector2 point) {
  return containsLocalPoint(absoluteToLocal(point));
}