FreehandTool constructor

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 FreehandTool.configuration.

Implementation

factory FreehandTool() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FreehandTool_create(
      errorHandler,
    );
  });
  return FreehandTool._withHandle(handle);
}