filterPoint static method

Offset filterPoint(
  1. Offset a,
  2. Offset b,
  3. double filterFactor
)

Interpolates a Point between a and b according to the filterFactor, which should be in the range of 0.0 to 1.0.

Implementation

static Offset filterPoint(Offset a, Offset b, double filterFactor) {
  return Offset(
      filter(a.dx, b.dx, filterFactor), filter(a.dy, b.dy, filterFactor));
}