operator * method

Size operator *(
  1. double stoneSide
)

Let's you multiply the wall size by a logical pixels width, to have the logical pixels dimensions of the wall.

Implementation

Size operator *(double stoneSide) =>
    Size(width.toDouble() * stoneSide, height.toDouble() * stoneSide);