move method

void move(
  1. Point newpos, [
  2. bool? useLocation
])

Move this part and any parts that are owned by this part to a new position.

If this part is a Group, it also moves all of its members, recursively. If this part is a Link, it also moves all of its label nodes.

This method does not perform a transaction or start any animation. @expose @param {Point} newpos a new Point in document coordinates. @param {boolean=} useLocation true if you want to set the #location instead of the position. False by default.

Implementation

void move(
  _i3.Point newpos, [
  _i2.bool? useLocation,
]) {
  _i4.callMethod(
    this,
    'move',
    [
      newpos,
      useLocation ?? _i5.undefined,
    ],
  );
}