stop method

Geometry? stop()

Stops the editing session by making the GeometryEditor no longer respond to user interaction and clears the GeometryEditor.geometry.

Return Value: The final GeometryEditor.geometry before it is cleared. Null if the geometry editor is not started.

Implementation

Geometry? stop() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryEditor_stop(
      _handle,
      errorHandler,
    );
  });
  return Geometry._fromHandle(
    objectHandle,
  );
}