Class GeometryEditorMidVertex
A mid-vertex element in a GeometryEditor.
Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeometryEditorMidVertex : GeometryEditorElement
Remarks
Mid-vertices do not exist in the Geometry, but instead exist only in the display. They are displayed between vertices in polygon and polyline geometries and are used in interactive workflows as a visual cue to indicate new vertices can be inserted between existing vertices. They may be most helpful for users with less editing experience. Tap on a mid-vertex to select it, and drag to change the mid-vertex into a vertex (GeometryEditorVertex) in the Geometry and move it to the required location.
When a mid-vertex is selected (displayed with a selection halo), a GeometryEditorMidVertex is returned from SelectedElement. Select a mid-vertex programmatically using SelectMidVertex(Int64, Int64).
Use MidVertexSymbol and SelectedMidVertexSymbol to change the
appearance of the mid-vertex when unselected and selected, or set to null
to prevent mid-vertices from being
displayed entirely. If mid-vertices are not displayed, you can still insert vertices between existing vertices
by selecting an existing GeometryEditorVertex and tapping on the map at the location to insert the new
vertex.
To prevent mid-vertices from being selected interactively while still allowing programmatic selection, set
AllowMidVertexSelection to false
. If
AllowVertexCreation is false
then new vertices cannot be inserted into the
geometry, including by the use of mid-vertices.
Properties
Name | Description |
---|---|
PartIndex | Gets the index position of the part within the part collection of a multipart geometry that contains this GeometryEditorMidVertex. |
Point | Gets the location of the point represented by this GeometryEditorMidVertex in the SpatialReference of the associated MapView. |
SegmentIndex | Gets the index position of the segment on which the selected mid-vertex lies. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |