public Rect (float left, float top, float width, float height) { x = left; y = top; this.width = width; this.height = height; }