registerOnCursorSelectionUpdatedPath method

void registerOnCursorSelectionUpdatedPath(
  1. CursorSelectionCallback<Path>? cursorSelectionPathCallback
)

Registers for cursor-hover path selections.

Invoked when the cursor hovers over a vector path.

Parameters

  • Receives the selected path. Pass null to unregister.

Also see:

Implementation

void registerOnCursorSelectionUpdatedPath(
  final CursorSelectionCallback<Path>? cursorSelectionPathCallback,
) {
  _cursorSelectionCallbackPath = cursorSelectionPathCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onCursorSelectionPath',
    cursorSelectionPathCallback == null,
  );
}