Class GeometryEditorGeometry

java.lang.Object
com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorElement
com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorGeometry

public final class GeometryEditorGeometry extends GeometryEditorElement
The element in a GeometryEditor representing the entire geometry.

A GeometryEditorGeometry represents the entire geometry in a GeometryEditor - it displays the existing location and shape of the geometry, and allows you to select and move the entire geometry in interactive workflows. For more information about selecting and working with selections, see GeometryEditor.

When an entire geometry is selected (displayed with a selection halo), a GeometryEditorGeometry is returned from the GeometryEditor.selectedElementProperty(), except if the geometry is a Point, in which case a GeometryEditorVertex is returned instead.

Select the entire geometry programmatically using GeometryEditor.selectGeometry(). To prevent whole geometries from being selected interactively while still allowing programmatic selection, set InteractionConfiguration.allowGeometrySelectionProperty() to false.

Use the GeometryEditorStyle.lineSymbolProperty() and GeometryEditorStyle.fillSymbolProperty() to change the appearance of polygons and polylines displayed by a GeometryEditor. You may also wish to control the appearance of a geometry during interactive edits by using the GeometryEditorStyle.feedbackLineSymbolProperty() and GeometryEditorStyle.feedbackVertexSymbolProperty().

Since:
200.1.0