Geometry Editor Part
A com.arcgismaps.geometry.Part element in a GeometryEditor editing a com.arcgismaps.geometry.Multipart geometry. Polygons and polylines are com.arcgismaps.geometry.Multipart geometries that can consist of one or more com.arcgismaps.geometry.Part objects. A GeometryEditorPart represents a part of the geometry in a GeometryEditor - it displays the existing location and shape of the part, and allows you to select and move the part in interactive workflows. For more information about selecting and working with selections, see GeometryEditor.
When a part is selected (displayed with a selection halo), a GeometryEditorPart is returned from GeometryEditor.selectedElement. If the GeometryEditor.geometry is a polygon or polyline with only one com.arcgismaps.geometry.Part, then a GeometryEditorGeometry is returned instead.
Select a part programmatically using GeometryEditor.selectPart. To prevent parts from being selected interactively while still allowing programmatic selection, set InteractionConfiguration.allowPartSelection to false.
Use GeometryEditorStyle.lineSymbol and GeometryEditorStyle.fillSymbol to change the appearance of polygons and polylines displayed by a GeometryEditor. You can also control the appearance of a part during interactive edits by using GeometryEditorStyle.feedbackLineSymbol and GeometryEditorStyle.feedbackVertexSymbol.
Since
200.1.0
See also
Properties
The part in the com.arcgismaps.geometry.SpatialReference of the associated com.arcgismaps.mapping.view.MapView.
The index position of the part within the GeometryEditor.geometry.
Inherited properties
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.
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.
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.
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.
The extent of the selected element in the com.arcgismaps.geometry.SpatialReference of the associated com.arcgismaps.mapping.view.MapView. To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry.geometry, GeometryEditorMidVertex.point, GeometryEditorPart.part, or GeometryEditorVertex.point.