public RectangleD(double x, double y, double width, double height) { X = x; Y = y; Width = width; Height = height; ComputeProperties(); }