operator * method

ExpressivePoint operator *(
  1. double operand
)

Multiplication operator.

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

Implementation

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