Returns the offset that is this fraction in the direction of the given offset.
Offset alongOffset(Offset other) { return new Offset(dx * other.dx, dy * other.dy); }