public Rectangle(Point2D Centroid, double width, double length) : base(Centroid) { this.width = width; this.length = length; }
public Rectangle(Point2D Centroid) : base(Centroid) { }
public double Radius; //new variable #endregion Fields #region Constructors public Circle(Point2D Centroid) : base(Centroid) { }
public Circle(Point2D Centroid, double Radius) : base(Centroid) { this.Radius = Radius; }
public Shape(Point2D Centroid) { this.Centroid = Centroid; }