Class GeometryEditorVertex
GeometryEditor.
Vertices represent points in a GeometryEditor.geometryProperty(). They display the existing location
of the point, and are used in interactive workflows to allow you to select and move those points. For more information
about selecting and working with selections, see GeometryEditor.
When a vertex is selected (displayed with a selection halo), the selected element
is a GeometryEditorVertex.
Select a vertex programmatically using GeometryEditor.selectVertex(long, long), or move it programmatically
using GeometryEditor.moveSelectedElement(double, double) or GeometryEditor.moveSelectedElement(Point).
Use the GeometryEditorStyle.vertexSymbolProperty() and GeometryEditorStyle.selectedVertexSymbolProperty()
to change the appearance of the vertex when unselected and selected, or set to null to prevent them from being
displayed entirely.
To prevent vertices from being selected interactively while still allowing programmatic selection, set the value of the
InteractionConfiguration.allowVertexSelectionProperty() to false.
- Since:
- 200.1.0
- See Also:
-
Property Summary
PropertiesTypePropertyDescriptionThe index position of the part which contains the vertex.The position of the vertex in theSpatialReferenceof the associatedMapView.The index position of the vertex within a part. -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value of thepartIndexproperty.getPoint()Gets the value of thepointproperty.longGets the value of thevertexIndexproperty.The index position of the part which contains the vertex.The position of the vertex in theSpatialReferenceof the associatedMapView.The index position of the vertex within a part.Methods inherited from class com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorElement
canDeleteProperty, canMoveProperty, canRotateProperty, canScaleProperty, extentProperty, getCanDelete, getCanMove, getCanRotate, getCanScale, getExtent
-
Property Details
-
partIndex
The index position of the part which contains the vertex.- Since:
- 200.1.0
- See Also:
-
point
The position of the vertex in theSpatialReferenceof the associatedMapView.- Since:
- 200.1.0
- See Also:
-
vertexIndex
The index position of the vertex within a part.- Since:
- 200.1.0
- See Also:
-
-
Method Details
-
partIndexProperty
The index position of the part which contains the vertex.- Returns:
- the
partIndexproperty - Since:
- 200.1.0
- See Also:
-
getPartIndex
public long getPartIndex()Gets the value of thepartIndexproperty.- Property description:
- The index position of the part which contains the vertex.
- Returns:
- the value of the
partIndexproperty - Since:
- 200.1.0
- See Also:
-
pointProperty
The position of the vertex in theSpatialReferenceof the associatedMapView.- Returns:
- the
pointproperty - Since:
- 200.1.0
- See Also:
-
getPoint
Gets the value of thepointproperty.- Property description:
- The position of the vertex in the
SpatialReferenceof the associatedMapView. - Returns:
- the value of the
pointproperty - Since:
- 200.1.0
- See Also:
-
vertexIndexProperty
The index position of the vertex within a part.- Returns:
- the
vertexIndexproperty - Since:
- 200.1.0
- See Also:
-
getVertexIndex
public long getVertexIndex()Gets the value of thevertexIndexproperty.- Property description:
- The index position of the vertex within a part.
- Returns:
- the value of the
vertexIndexproperty - Since:
- 200.1.0
- See Also:
-