selectGeometry

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(Point) or GeometryEditor.moveSelectedElement(Double, Double) 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 a Point, 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.

Since

200.1.0

See also

Throws

if the geometry editor is not started