GeometryEditorMidVertex class final

A mid-vertex element in a GeometryEditor.

Mid-vertices do not exist in the GeometryEditor.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 GeometryEditor.geometry and move it to the required location.

When a mid-vertex is selected (displayed with a selection halo), a GeometryEditorMidVertex is returned from GeometryEditor.selectedElement. Select a mid-vertex programmatically using GeometryEditor.selectMidVertex.

Use GeometryEditorStyle.midVertexSymbol and GeometryEditorStyle.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 InteractionConfiguration.allowMidVertexSelection to false. If InteractionConfiguration.allowVertexCreation is false then new vertices cannot be inserted into the geometry, including by the use of mid-vertices.

Inheritance

Properties

canDelete bool
True if this element can be deleted interactively, false otherwise.
no setterinherited
canMove bool
True if this element can be moved interactively, false otherwise.
no setterinherited
canRotate bool
True if this element can be rotated interactively, false otherwise.
no setterinherited
canScale bool
True if this element can be scaled interactively, false otherwise.
no setterinherited
extent Envelope
The extent of the selected element in the SpatialReference of the associated ArcGISMapViewController.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
partIndex int
The index position of the part within the part collection of a multipart geometry that contains this GeometryEditorMidVertex.
no setter
point ArcGISPoint
The location of the point represented by this GeometryEditorMidVertex in the SpatialReference of the associated ArcGISMapViewController.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentIndex int
The index position of the segment on which the selected mid-vertex lies.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited