hitTest method

  1. @override
bool hitTest(
  1. DiagramPoint worldPoint, {
  2. double tolerance = diagramStrokeHitTolerance,
})
override

Closed outlines pick their interior; stroke outlines widen to tolerance, which defaults to their fixed pick radius.

Implementation

@override
bool hitTest(
  DiagramPoint worldPoint, {
  double tolerance = diagramStrokeHitTolerance,
}) => outline.hitTest(worldToLocal(worldPoint), tolerance: tolerance);