public class Rectangle { private Point2D corner; private double height; private double width; private double inclination; //methods }