operator * method

Offset operator *(
  1. double stoneSide
)

Computes the absolute brick position in a wall. stoneSide represents the smallest stone width/height.

Implementation

Offset operator *(double stoneSide) =>
    Offset(this.x * stoneSide, this.y * stoneSide);