Class FreehandTool
GeometryEditor
by using freehand gestures.
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 GeometryEditorTool.styleProperty()
.
- Since:
- 200.1.0
- See Also:
-
Property Summary
TypePropertyDescriptionDefines the set of interactive operations enabled when using this tool.Properties inherited from class com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorTool
style
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDefines the set of interactive operations enabled when using this tool.Gets the value of theconfiguration
property.void
setConfiguration
(InteractionConfiguration configuration) Sets the value of theconfiguration
property.Methods inherited from class com.esri.arcgisruntime.mapping.view.geometryeditor.GeometryEditorTool
getStyle, setStyle, styleProperty
-
Property Details
-
configuration
Defines the set of interactive operations enabled when using this tool.By default, the
configurationProperty()
allows creation and selection of parts, transformation, and deletion operations.This tool ignores the
InteractionConfiguration.allowVertexCreationProperty()
.Attempting to set the value to null will throw a NullPointerException.
- Since:
- 200.1.0
- See Also:
-
-
Constructor Details
-
FreehandTool
public FreehandTool()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
configurationProperty()
.- Since:
- 200.1.0
-
-
Method Details
-
configurationProperty
Defines the set of interactive operations enabled when using this tool.By default, the
configurationProperty()
allows creation and selection of parts, transformation, and deletion operations.This tool ignores the
InteractionConfiguration.allowVertexCreationProperty()
.Attempting to set the value to null will throw a NullPointerException.
- Returns:
- the
configuration
property - Since:
- 200.1.0
- See Also:
-
getConfiguration
Gets the value of theconfiguration
property.- Property description:
- Defines the set of interactive operations enabled when using this tool.
By default, the
configurationProperty()
allows creation and selection of parts, transformation, and deletion operations.This tool ignores the
InteractionConfiguration.allowVertexCreationProperty()
.Attempting to set the value to null will throw a NullPointerException.
- Returns:
- the value of the
configuration
property - Since:
- 200.1.0
- See Also:
-
setConfiguration
Sets the value of theconfiguration
property.- Property description:
- Defines the set of interactive operations enabled when using this tool.
By default, the
configurationProperty()
allows creation and selection of parts, transformation, and deletion operations.This tool ignores the
InteractionConfiguration.allowVertexCreationProperty()
.Attempting to set the value to null will throw a NullPointerException.
- Parameters:
configuration
- the value for theconfiguration
property- Since:
- 200.1.0
- See Also:
-