A vertex element in a GeometryEditor. More...
Header:#include <GeometryEditorVertex.h>
Since: Esri::ArcGISRuntime 200.1 Inherits: Esri::ArcGISRuntime::GeometryEditorElement
Public Functions virtual ~GeometryEditorVertex() override int partIndex() const Esri::ArcGISRuntime::Point point() const int vertexIndex() const 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(const Esri::ArcGISRuntime::Point&).
Use GeometryEditorStyle::vertexSymbol and GeometryEditorStyle::selectedVertexSymbol to change the appearance of the vertex when unselected and selected, or set to nullptr
to prevent them from being displayed entirely.
To prevent vertices from being selected interactively while still allowing programmatic selection, set InteractionConfiguration::isAllowVertexSelection to false
.
See also GeometryEditor, InteractionConfiguration, and GeometryEditorMidVertex.
Member Function Documentation[override virtual noexcept]
GeometryEditorVertex::~GeometryEditorVertex()
Destructor.
int GeometryEditorVertex::partIndex() constReturns the index position of the part which contains the vertex.
Esri::ArcGISRuntime::Point GeometryEditorVertex::point() constReturns the position of the vertex in the SpatialReference of the associated MapView.
int GeometryEditorVertex::vertexIndex() constReturns the index position of the vertex within a part.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4