Class GeometryEditorGeometry
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
-
Property Summary
TypePropertyDescriptionThe entire geometry in theSpatialReference
of the associatedMapView
, if one is set. -
Method Summary
Modifier and TypeMethodDescriptionThe entire geometry in theSpatialReference
of the associatedMapView
, if one is set.Gets the value of thegeometry
property.Methods inherited from class com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorElement
canDeleteProperty, canMoveProperty, canRotateProperty, canScaleProperty, extentProperty, getCanDelete, getCanMove, getCanRotate, getCanScale, getExtent
-
Property Details
-
geometry
The entire geometry in theSpatialReference
of the associatedMapView
, if one is set.- Since:
- 200.1.0
- See Also:
-
-
Method Details
-
geometryProperty
The entire geometry in theSpatialReference
of the associatedMapView
, if one is set.- Returns:
- the
geometry
property - Since:
- 200.1.0
- See Also:
-
getGeometry
Gets the value of thegeometry
property.- Property description:
- The entire geometry in the
SpatialReference
of the associatedMapView
, if one is set. - Returns:
- the value of the
geometry
property - Since:
- 200.1.0
- See Also:
-