FractionalOffset operator %(double other)

Computes the remainder in each dimension by the given factor.

Source

FractionalOffset operator %(double other) {
  return new FractionalOffset(dx % other, dy % other);
}