java.lang.Object
com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorElement
com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorVertex

public final class GeometryEditorVertex extends GeometryEditorElement
A vertex element in a 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 Details

  • Method Details

    • partIndexProperty

      public ReadOnlyLongProperty partIndexProperty()
      The index position of the part which contains the vertex.
      Since:
      200.1.0
      See Also:
    • getPartIndex

      public long getPartIndex()
      Gets the value of the property partIndex.
      Property description:
      The index position of the part which contains the vertex.
      Since:
      200.1.0
    • pointProperty

      public ReadOnlyObjectProperty<Point> pointProperty()
      The position of the vertex in the SpatialReference of the associated MapView.
      Since:
      200.1.0
      See Also:
    • getPoint

      public Point getPoint()
      Gets the value of the property point.
      Property description:
      The position of the vertex in the SpatialReference of the associated MapView.
      Since:
      200.1.0
    • vertexIndexProperty

      public ReadOnlyLongProperty vertexIndexProperty()
      The index position of the vertex within a part.
      Since:
      200.1.0
      See Also:
    • getVertexIndex

      public long getVertexIndex()
      Gets the value of the property vertexIndex.
      Property description:
      The index position of the vertex within a part.
      Since:
      200.1.0