HitTester constructor

HitTester(
  1. IAABB area, [
  2. double tolerance = 0.25
])

Implementation

HitTester(IAABB area, [double tolerance = 0.25])
    : _windings =
          List<int>.filled(area.width * area.height, 0, growable: false),
      _firstX = 0,
      _firstY = 0,
      _prevX = 0,
      _prevY = 0,
      _offsetX = area.left.toDouble(),
      _offsetY = area.top.toDouble(),
      _iwidth = area.width,
      _height = area.height.toDouble(),
      _tolerance = tolerance,
      _expectsMove = true;