containsPoint method

bool containsPoint(
  1. Point p, [
  2. num? sw
])

Returns true if the Geometry contains the point. @param {Point} p in local geometry coordinates @param {number=} sw half the stroke width that a Shape has or that you want to pretend it has @return {boolean} @since 2.2

Implementation

_i2.bool containsPoint(
  _i3.Point p, [
  _i2.num? sw,
]) =>
    _i4.callMethod(
      this,
      'containsPoint',
      [
        p,
        sw ?? _i5.undefined,
      ],
    );