operator % method

  1. @override
Alignment operator %(
  1. double other
)
override

Computes the remainder in each dimension by the given factor.

Implementation

@override
Alignment operator %(double other) {
  return Alignment(x % other, y % other);
}