findToolHandleAt method

GraphObject? findToolHandleAt(
  1. Point p,
  2. String category
)

This convenience function finds the front-most GraphObject that is at a given point and that is an element of an Adornment that is of a given category. The tool handle must be an immediate element of the Adornment, not a GraphObject that is nested within Panels within the Adornment.

This method is very infrequently overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Point} p a Point in document coordinates. @param {string} category the required Part#category of the Adornment. @return {GraphObject}

Implementation

_i3.GraphObject? findToolHandleAt(
  _i3.Point p,
  _i2.String category,
) =>
    _i4.callMethod(
      this,
      'findToolHandleAt',
      [
        p,
        category,
      ],
    );