operator * method

PrinterOffset operator *(
  1. double operand
)

Multiplication operator.

Returns an PrinterOffset whose coordinates are the coordinates of the left-hand-side operand (an PrinterOffset) multiplied by the scalar right-hand-side operand (a double).

See also scale.

Implementation

PrinterOffset operator *(double operand) => PrinterOffset(x! * operand, y! * operand);