hitTestRects method
Builds the hit-test rectangles covering the path, each expanded by
tolerance.
Implementation
List<Rect> hitTestRects(double tolerance) =>
EdgePathMath.generateHitTestFromSegments(
start: start,
segments: segments,
tolerance: tolerance,
);