GeometryEditorVertex

A vertex element in a GeometryEditor. 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(Double, Double) or GeometryEditor.moveSelectedElement(Point).

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.

Since

200.1.0

See also

Properties

Link copied to clipboard

The index position of the part which contains the vertex.

Link copied to clipboard

The position of the vertex in the SpatialReference of the associated MapView.

Link copied to clipboard

The index position of the vertex within a part.

Inherited properties

Link copied to clipboard

True if this element can be deleted interactively, false otherwise. The value of InteractionConfiguration.allowDeletingSelectedElement of the current GeometryEditor.tool determines this value. The element can be deleted programmatically regardless of this value, for example using GeometryEditor.deleteSelectedElement().

Link copied to clipboard

True if this element can be moved interactively, false otherwise. The value of InteractionConfiguration.allowMovingSelectedElement of the current GeometryEditor.tool determines this value. The element can be moved programmatically regardless of this value, for example using GeometryEditor.moveSelectedElement(Point).

Link copied to clipboard

True if this element can be rotated interactively, false otherwise. The value of InteractionConfiguration.allowRotatingSelectedElement of the current GeometryEditor.tool determines this value. The element can be rotated programmatically regardless of this value, for example using GeometryEditor.rotateSelectedElement(Double, Point).

Link copied to clipboard

True if this element can be scaled interactively, false otherwise. The value of InteractionConfiguration.allowScalingSelectedElement of the current GeometryEditor.tool determines this value. The element can be scaled programmatically regardless of this value, for example using GeometryEditor.scaleSelectedElement(Double, Double, Point).

Link copied to clipboard

The extent of the selected element in the SpatialReference of the associated MapView. To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry.geometry, GeometryEditorMidVertex.point, GeometryEditorPart.part, or GeometryEditorVertex.point.