--- title: "Rectangle" date: 2019-09-14T20:37:23-07:00 weight: 30 --- To define a rectangle, give a minimum X and Y and a maximum X and Y. ```cs var left = -1; var top = -1; var width = 2; var height = 2; var rectangle = new Rectangle(left, top, width, height); ```