BufferFalloff typedef

BufferFalloff = double Function({required int height, required double normalizedDistance, required int width, required int x, required int y})

Signature for position-aware intensity curves used by spatial filters.

Implementation

typedef BufferFalloff =
    double Function({
      required double normalizedDistance,
      required int x,
      required int y,
      required int width,
      required int height,
    });