|VertexTool(QObject *parent = nullptr)|
|Esri::ArcGISRuntime::InteractionConfiguration *||configuration() const|
The default GeometryEditor::tool is a VertexTool, and is suitable for creating and editing the widest range of geometry types - Multipoint, Point, Polygon, and Polyline. You create and edit these geometries by creating, selecting, and transforming individual vertices, and can also select and transform parts of Multipart (polygon and polyline) geometries. Use the configuration properties to customize the possible interactions.
See also FreehandTool.
Member Function Documentation
Tool: : Vertex Tool(QObject *parent = nullptr)
Creates a new VertexTool.
- parent - The optional parent QObject.
By default, this tool enables the creation, selection, transformation, and deletion interactions appropriate for creating and editing geometries by interacting with individual vertices. This behavior can be customized with configuration.
[override virtual] Vertex
Tool: : ~Vertex Tool()
: *Vertex A r c GISRuntime: : Interaction Configuration Tool: : configuration() const
Returns defines the set of interactive operations enabled when using this tool.
By default, the configuration allows you to create and select vertices by tapping on the map, and also allows you to move vertices by dragging the selected vertex.
By default, it does not allow the creation of new parts, but does allow the selection, transformation, and deletion of any existing parts if they already exist in the GeometryEditor::geometry. Set InteractionConfiguration::isAllowPartCreation to
true to allow you to tap on the view when there is no current selection (GeometryEditor::selectedElement is
nullptr) to start new parts in polyline and polygon geometries.
See also setConfiguration().
Tool: : set Configuration(Esri: : *configuration) A r c GISRuntime: : Interaction Configuration
Sets the configuration to configuration.
See also configuration.