Returns true if either dimension is double.INFINITY, and false if both are finite (or negative infinity, or NaN).
This is different than comparing for equality with an instance that has both dimensions set to double.INFINITY.
Source
bool get isInfinite => _dx >= double.INFINITY || _dy >= double.INFINITY;