filterPoint static method
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));
}