GeometryEditorStyle class final

Defines the visual appearance of a geometry displayed by the GeometryEditor.

Each GeometryEditorTool has a GeometryEditorStyle which controls the appearance of the different elements of the GeometryEditor.geometry. You can change the symbology used for vertices, selections, lines and fills. For example, in a Feature or Graphic editing workflow, you can set the GeometryEditorStyle.lineSymbol to match the symbol of a polyline geometry in order to provide visual consistency.

When a GeometryEditorTool is created, a consistent set of default symbology appropriate for that tool type is applied to its GeometryEditorTool.style property.

You can change the GeometryEditorStyle.opacity of the overall style, or alternatively set different opacity (alpha) values on the individual symbols of the style, so that the underlying map components are visible through the geometry being edited.

You can set each symbol to null - consider carefully how this can affect your workflows, as you will not be able to see, select, or otherwise interact with those GeometryEditorElement types.

When snapping is enabled (SnapSettings.isEnabled), the visual cues that indicate to a user when snapping has occurred can be customized using GeometryEditorStyle.snappedToVertexSymbol, GeometryEditorStyle.snappedToLineSymbol, and GeometryEditorStyle.multipleSnapCandidatesSymbol.

Implemented types

Constructors

GeometryEditorStyle()
Creates a new GeometryEditorStyle with a consistent set of red symbols, and displays white numbers on vertices.
factory

Properties

boundingBoxHandleSymbol ArcGISSymbol?
The symbol used to draw control handles for interactive scaling when a scalable element is selected in the GeometryEditor and InteractionConfiguration.allowScalingSelectedElement is true.
getter/setter pair
boundingBoxSymbol ArcGISSymbol?
The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected in the GeometryEditor and InteractionConfiguration.allowScalingSelectedElement is true.
getter/setter pair
feedbackLineSymbol ArcGISSymbol?
The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon geometries.
getter/setter pair
feedbackVertexSymbol ArcGISSymbol?
The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.
getter/setter pair
fillSymbol ArcGISSymbol?
The symbol used to fill the current geometry when editing polygon geometries.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineSymbol ArcGISSymbol?
The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when editing polygon geometries.
getter/setter pair
midVertexSymbol ArcGISSymbol?
The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.
getter/setter pair
multipleSnapCandidatesSymbol ArcGISSymbol?
The symbol used to indicate that multiple candidates for snapping exist at the interactive edit position, when the GeometryEditor has snapped the interaction position to the best candidate.
getter/setter pair
opacity double
The opacity of the GeometryEditor display in the view, a value between 0 (fully transparent) and 1 (fully opaque). Default is 1.
getter/setter pair
rotateHandleSymbol ArcGISSymbol?
The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable element is selected in the GeometryEditor and InteractionConfiguration.allowRotatingSelectedElement is true.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedMidVertexSymbol ArcGISSymbol?
The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline geometries.
getter/setter pair
selectedVertexSymbol ArcGISSymbol?
The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.
getter/setter pair
snappedToLineSymbol ArcGISSymbol?
The symbol used to indicate an edge (segment) of a geometry during an interactive edit, when the GeometryEditor has snapped the interaction position to that edge.
getter/setter pair
snappedToVertexSymbol ArcGISSymbol?
The symbol used to indicate a vertex of a geometry during an interactive edit, when the GeometryEditor has snapped the interaction position to that vertex.
getter/setter pair
vertexSymbol ArcGISSymbol?
The symbol used to draw the vertices of the current geometry when editing any geometry type.
getter/setter pair
vertexTextSymbol ArcGISSymbol?
The symbol used to draw vertex numbers for the current geometry. If null, no numbers are displayed.
getter/setter pair

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