pointInside method

bool pointInside(
  1. CGPoint point, {
  2. UIEvent? withEvent,
})

pointInside:withEvent:

Implementation

bool pointInside(objc.CGPoint point, {UIEvent? withEvent}) {
  objc.checkOsVersionInternal('UIView.pointInside:withEvent:', iOS: (false, (2, 0, 0)));
  return _objc_msgSend_yvwe5y(
    this.ref.pointer,
    _sel_pointInside_withEvent_,
    point,
    withEvent?.ref.pointer ?? ffi.nullptr,
  );
}