operator * method

Size operator *(
  1. double operand
)

Multiplication operator.

Returns a Size whose dimensions are the dimensions of the left-hand-side operand (a Size) multiplied by the scalar right-hand-side operand (a double).

Implementation

Size operator *(double operand) => Size(width * operand, height * operand);