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
TypePropertyDescriptionThe index position of the part which contains the vertex.The position of the vertex in theSpatialReference
of the associatedMapView
.The index position of the vertex within a part. -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the value of thepartIndex
property.getPoint()
Gets the value of thepoint
property.long
Gets the value of thevertexIndex
property.The index position of the part which contains the vertex.The position of the vertex in theSpatialReference
of 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 theSpatialReference
of 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
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 which contains the vertex.
- Returns:
- the value of the
partIndex
property - Since:
- 200.1.0
- See Also:
-
pointProperty
The position of the vertex in theSpatialReference
of the associatedMapView
.- Returns:
- the
point
property - Since:
- 200.1.0
- See Also:
-
getPoint
Gets the value of thepoint
property.- Property description:
- The position of the vertex in the
SpatialReference
of the associatedMapView
. - Returns:
- the value of the
point
property - Since:
- 200.1.0
- See Also:
-
vertexIndexProperty
The index position of the vertex within a part.- Returns:
- the
vertexIndex
property - Since:
- 200.1.0
- See Also:
-
getVertexIndex
public long getVertexIndex()Gets the value of thevertexIndex
property.- Property description:
- The index position of the vertex within a part.
- Returns:
- the value of the
vertexIndex
property - Since:
- 200.1.0
- See Also:
-