operator ~/ method

BlockAlignment operator ~/(
  1. double other
)

Integer divides the BlockAlignment in each dimension by the given factor.

Implementation

BlockAlignment operator ~/(double other) {
  return BlockAlignment((x ~/ other).toDouble(), (y ~/ other).toDouble());
}