GeometryEditorVertex QML Type
A vertex element in a GeometryEditor. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 200.1 |
Inherits: |
- List of all members, including inherited members
- GeometryEditorVertex is part of QML Type List.
Properties
- partIndex : int
- point : Point
- vertexIndex : int
Detailed Description
Vertices represent points in a GeometryEditor::geometry. 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), a GeometryEditorVertex is returned from GeometryEditor::selectedElement.
Select a vertex programmatically using GeometryEditor::selectVertex(int, int), or move it programmatically using GeometryEditor::moveSelectedElement() or GeometryEditor::moveSelectedElement().
Use GeometryEditorStyle::vertexSymbol and GeometryEditorStyle::selectedVertexSymbol 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 InteractionConfiguration::allowVertexSelection to false
.
Note: You cannot declare or create a component of this type in QML code.
See also GeometryEditor, InteractionConfiguration, and GeometryEditorMidVertex.
Property Documentation
[read-only] partIndex : int |
The index position of the part which contains the vertex (read-only).
[read-only] point : Point |
The position of the vertex in the SpatialReference of the GeometryEditor::geometry (read-only).
[read-only] vertexIndex : int |
The index position of the vertex within a part (read-only).