FreehandTool Class

  • FreehandTool
  • class Esri::ArcGISRuntime::FreehandTool

    Allows you to edit geometries in a GeometryEditor by using freehand gestures. More...

    Header: #include <FreehandTool.h>
    Since: Esri::ArcGISRuntime 200.1
    Inherits: Esri::ArcGISRuntime::GeometryEditorTool

    Public Functions

    FreehandTool(QObject *parent = nullptr)
    virtual ~FreehandTool() override
    Esri::ArcGISRuntime::InteractionConfiguration *configuration() const
    void setConfiguration(Esri::ArcGISRuntime::InteractionConfiguration *configuration)

    Detailed Description

    This tool is suitable for creating and editing Polygon and Polyline geometries. Each drag gesture creates a new part of the Multipart geometry.

    By default, this tool does not display vertices or mid-vertices. This behavior can be customized with style.

    See also VertexTool, ShapeTool, ReticleVertexTool, and GeometryEditor::tool.

    Member Function Documentation

    [explicit] FreehandTool::FreehandTool(QObject *parent = nullptr)

    Creates a new FreehandTool.

    • parent - The optional parent QObject.

    By default, this tool enables the creation, selection, transformation, and deletion interactions appropriate for creating and editing geometries using freehand gestures. This behavior can be customized with configuration.

    [override virtual] FreehandTool::~FreehandTool()

    Destructor.

    Esri::ArcGISRuntime::InteractionConfiguration *FreehandTool::configuration() const

    Returns the set of interactive operations enabled when using this tool.

    By default, the configuration allows creation and selection of parts, transformation, and deletion operations.

    This tool ignores the InteractionConfiguration::isAllowVertexCreation property.

    See also setConfiguration().

    void FreehandTool::setConfiguration(Esri::ArcGISRuntime::InteractionConfiguration *configuration)

    Sets the configuration to configuration.

    See also configuration.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.