Rectangle constructor

Rectangle(
  1. int x,
  2. int y,
  3. int width,
  4. int height
)

Constructs a Rectangle

Implementation

Rectangle(this.x, this.y, this.width, this.height);