isPointInPath method

bool isPointInPath(
  1. double x,
  2. double y,
  3. PathFillType fillRule
)

Implementation

bool isPointInPath(double x, double y, PathFillType fillRule) {
  return path2d.path.contains(Offset(x, y));
}