public BoundingBox(Location topLeft, int height, int width) { this.TopLeft = topLeft; this.BottomRight = new Location(topLeft.Y + height, topLeft.X + width); }
public BoundingBox(Location topLeft, Location bottomRight) { this.TopLeft = topLeft; this.BottomRight = bottomRight; }