GeometryEditorGeometry

The element in a GeometryEditor representing the entire GeometryEditor.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 GeometryEditor.selectedElement, except if the GeometryEditor.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.allowGeometrySelection to false.

Use GeometryEditorStyle.lineSymbol and GeometryEditorStyle.fillSymbol 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 GeometryEditorStyle.feedbackLineSymbol and GeometryEditorStyle.feedbackVertexSymbol.

Since

200.1.0

Properties

Link copied to clipboard

The entire geometry in the SpatialReference of the associated MapView, if one is set.

Inherited properties

Link copied to clipboard

True if this element can be deleted interactively, false otherwise. The value of InteractionConfiguration.allowDeletingSelectedElement of the current GeometryEditor.tool determines this value. The element can be deleted programmatically regardless of this value, for example using GeometryEditor.deleteSelectedElement().

Link copied to clipboard

True if this element can be moved interactively, false otherwise. The value of InteractionConfiguration.allowMovingSelectedElement of the current GeometryEditor.tool determines this value. The element can be moved programmatically regardless of this value, for example using GeometryEditor.moveSelectedElement(Point).

Link copied to clipboard

True if this element can be rotated interactively, false otherwise. The value of InteractionConfiguration.allowRotatingSelectedElement of the current GeometryEditor.tool determines this value. The element can be rotated programmatically regardless of this value, for example using GeometryEditor.rotateSelectedElement(Double, Point).

Link copied to clipboard

True if this element can be scaled interactively, false otherwise. The value of InteractionConfiguration.allowScalingSelectedElement of the current GeometryEditor.tool determines this value. The element can be scaled programmatically regardless of this value, for example using GeometryEditor.scaleSelectedElement(Double, Double, Point).

Link copied to clipboard

The extent of the selected element in the SpatialReference of the associated MapView. To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry.geometry, GeometryEditorMidVertex.point, GeometryEditorPart.part, or GeometryEditorVertex.point.