moveTo method

void moveTo(
  1. num newx,
  2. num newy, [
  3. bool? useLocation
])

Move this part and any parts that are owned by this part to a new position. This just calls #move without the caller having to allocate a new Point. @param {number} newx a new X value in document coordinates. @param {number} newy a new Y value in document coordinates. @param {boolean=} useLocation true if you want to set the #location instead of the position. False by default. @since 1.4

Implementation

void moveTo(
  _i2.num newx,
  _i2.num newy, [
  _i2.bool? useLocation,
]) {
  _i4.callMethod(
    this,
    'moveTo',
    [
      newx,
      newy,
      useLocation ?? _i5.undefined,
    ],
  );
}