GeometryEditorGeometry class final
The element in a GeometryEditor representing the entire GeometryEditor.geometry.
A GeometryEditorGeometry represents the entire geometry in a GeometryEditor - it displays the existing location and shape of the geometry, and allows you to select and move the entire geometry in interactive workflows. For more information about selecting and working with selections, see GeometryEditor.
When an entire geometry is selected (displayed with a selection halo), a GeometryEditorGeometry is returned from GeometryEditor.selectedElement, except if the GeometryEditor.geometry is an ArcGISPoint, in which case a GeometryEditorVertex is returned instead.
Select the entire geometry programmatically using GeometryEditor.selectGeometry. To prevent whole geometries from being selected interactively while still allowing programmatic selection, set InteractionConfiguration.allowGeometrySelection to false.
Use GeometryEditorStyle.lineSymbol and GeometryEditorStyle.fillSymbol to change the appearance of polygons and polylines displayed by a GeometryEditor. You may also wish to control the appearance of a geometry during interactive edits by using GeometryEditorStyle.feedbackLineSymbol and GeometryEditorStyle.feedbackVertexSymbol.
- Inheritance
-
- Object
- GeometryEditorElement
- GeometryEditorGeometry
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
- geometry → Geometry
-
The entire geometry in the SpatialReference of the associated
ArcGISMapViewController, if one is set.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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