moveSelectedElement method

void moveSelectedElement(
  1. ArcGISPoint newPoint
)

Moves the selected element to the specified location.

If GeometryEditor.selectedElement is a GeometryEditorVertex, then the location of the vertex is moved to the given point. If the GeometryEditor.selectedElement is any other type of GeometryEditorElement, then the center of the element is moved to the given point.

Parameters:

  • newPoint — The new location for the selected element.

Implementation

void moveSelectedElement(
  ArcGISPoint newPoint,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GeometryEditor_moveSelectedElement(
      _handle,
      newPoint._handle,
      errorHandler,
    );
  });
}