operator / method

Size operator /(
  1. double factor
)

Implementation

Size operator /(double factor) => Size(width / factor, height / factor);