operator ~/ method

PrinterOffset operator ~/(
  1. double operand
)

Integer (truncating) division operator.

Returns an PrinterOffset whose coordinates are the coordinates of the left-hand-side operand (an PrinterOffset) divided by the scalar right-hand-side operand (a double), rounded towards zero.

Implementation

PrinterOffset operator ~/(double operand) => PrinterOffset((x! ~/ operand).toDouble(), (y! ~/ operand).toDouble());