doDropOnto method

void doDropOnto(
  1. Point pt, [
  2. GraphObject? obj
])

Perform any additional side-effects after a drop, whether an internal move or copy or an external drop, that may affect the existing non-moved object(s).

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Point} pt a Point in document coordinates. @param {GraphObject} obj the GraphObject where the drop occurred, excluding what was dropped or temporary objects; the argument may be null if the drop occurred in the background of the diagram. Use GraphObject#part to get the Node or Part at the root of the visual tree of the stationary object. @since 1.1

Implementation

void doDropOnto(
  _i3.Point pt, [
  _i3.GraphObject? obj,
]) {
  _i4.callMethod(
    this,
    'doDropOnto',
    [
      pt,
      obj ?? _i5.undefined,
    ],
  );
}