GeometryEditorPart class final

An ImmutablePart element in a GeometryEditor editing a Multipart geometry.

Polygons and polylines are Multipart geometries that can consist of one or more ImmutablePart objects. A GeometryEditorPart represents a part of the geometry in a GeometryEditor - it displays the existing location and shape of the part, and allows you to select and move the part in interactive workflows. For more information about selecting and working with selections, see GeometryEditor.

When a part is selected (displayed with a selection halo), a GeometryEditorPart is returned from GeometryEditor.selectedElement. If the GeometryEditor.geometry is a polygon or polyline with only one part (ImmutablePart), then a GeometryEditorGeometry is returned instead.

Select a part programmatically using GeometryEditor.selectPart. To prevent parts from being selected interactively while still allowing programmatic selection, set InteractionConfiguration.allowPartSelection to false.

Use GeometryEditorStyle.lineSymbol and GeometryEditorStyle.fillSymbol to change the appearance of polygons and polylines displayed by a GeometryEditor. You can also control the appearance of a part during interactive edits by using GeometryEditorStyle.feedbackLineSymbol and GeometryEditorStyle.feedbackVertexSymbol.

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
part ImmutablePart
The part in the SpatialReference of the associated ArcGISMapViewController.
no setter
partIndex int
The index position of the part within the GeometryEditor.geometry.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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