FreehandTool

Allows you to edit geometries in a GeometryEditor by using freehand gestures. This tool is suitable for creating and editing com.arcgismaps.geometry.Polygon and com.arcgismaps.geometry.Polyline geometries. Each drag gesture creates a new part of the com.arcgismaps.geometry.Multipart geometry.

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

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor()

Creates a new FreehandTool. 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 FreehandTool.configuration.

Properties

Link copied to clipboard

Defines the set of interactive operations enabled when using this tool. By default, the FreehandTool.configuration allows creation and selection of parts, transformation, and deletion operations.

Inherited properties

Link copied to clipboard

Defines the visual appearance of GeometryEditor geometries when this tool is in use. When a GeometryEditorTool is created, a consistent set of default symbology appropriate for that tool type is applied to its GeometryEditorTool.style property. For example, FreehandTool and ShapeTool define all vertex symbols as null by default because they use drag gestures to define entire parts of polyline and polygon geometries, whereas the VertexTool defines non-null vertex symbols because it is important to be able to see and interact with individual vertices when editing geometries with this tool.