selectGeometry method
Selects the entire GeometryEditor.geometry.
When the entire geometry is selected it can be edited interactively and programmatically. For example you can move the entire geometry interactively by dragging, or call GeometryEditor.moveSelectedElement or GeometryEditor.moveSelectedElementWithDelta to move it programmatically.
When the entire geometry is selected, the GeometryEditorGeometry returned from GeometryEditor.selectedElement has a geometry equal to GeometryEditor.geometry. If the GeometryEditor.geometry is an ArcGISPoint, then a GeometryEditorVertex is returned from GeometryEditor.selectedElement instead, which is equivalent to the entire geometry and provides immediate access to the x,y coordinates of the selected point geometry.
Implementation
void selectGeometry() {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GeometryEditor_selectGeometry(
_handle,
errorHandler,
);
});
}