operator * method

Point operator *(
  1. double factor
)

Implementation

Point operator *(double factor) => Point(x * factor, y * factor);