operator * method

Offset operator * (double operand)

Multiplication operator.

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

See also scale.

Implementation

Offset operator *(double operand) => Offset(dx * operand, dy * operand);