Class GeometryEditorPart
ImmutablePart
element in a GeometryEditor
editing a
Multipart
geometry.
Polygons and polylines are Multipart
geometries that can consist of one or more ImmutablePart
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), the
selected element
is a GeometryEditorPart. If the
geometry
is a polygon or polyline with only one
part
, then a GeometryEditorGeometry
is returned instead.
Select a part programmatically using GeometryEditor.selectPart(long)
. To prevent parts from being selected
interactively while still allowing programmatic selection, set the value of the
InteractionConfiguration.allowPartSelectionProperty()
to false.
Use the GeometryEditorStyle.lineSymbolProperty()
and GeometryEditorStyle.fillSymbolProperty()
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 the GeometryEditorStyle.feedbackLineSymbolProperty()
and
GeometryEditorStyle.feedbackVertexSymbolProperty()
.
- Since:
- 200.1.0
- See Also:
-
Property Summary
TypePropertyDescriptionThe index position of the part within theGeometryEditor.geometryProperty()
.The part in theSpatialReference
of the associatedMapView
. -
Method Summary
Modifier and TypeMethodDescriptiongetPart()
Gets the value of thepart
property.long
Gets the value of thepartIndex
property.The index position of the part within theGeometryEditor.geometryProperty()
.The part in theSpatialReference
of the associatedMapView
.Methods inherited from class com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorElement
canDeleteProperty, canMoveProperty, canRotateProperty, canScaleProperty, extentProperty, getCanDelete, getCanMove, getCanRotate, getCanScale, getExtent
-
Property Details
-
part
The part in theSpatialReference
of the associatedMapView
.- Since:
- 200.1.0
- See Also:
-
partIndex
The index position of the part within theGeometryEditor.geometryProperty()
.- Since:
- 200.1.0
- See Also:
-
-
Method Details
-
partProperty
The part in theSpatialReference
of the associatedMapView
.- Returns:
- the
part
property - Since:
- 200.1.0
- See Also:
-
getPart
Gets the value of thepart
property.- Property description:
- The part in the
SpatialReference
of the associatedMapView
. - Returns:
- the value of the
part
property - Since:
- 200.1.0
- See Also:
-
partIndexProperty
The index position of the part within theGeometryEditor.geometryProperty()
.- Returns:
- the
partIndex
property - Since:
- 200.1.0
- See Also:
-
getPartIndex
public long getPartIndex()Gets the value of thepartIndex
property.- Property description:
- The index position of the part within the
GeometryEditor.geometryProperty()
. - Returns:
- the value of the
partIndex
property - Since:
- 200.1.0
- See Also:
-