public circle(Point2D centroid, double radius) : base(centroid) { this.radius = radius; }
public circle(Point2D centroid) : base(centroid) { }
public rectangle(Point2D centroid, double length, double width) : base(centroid) { this.centroid = centroid; this.length = length; this.width = width; }
//property //I'll be able to get it afterwards :P //f*****g spoof... // public Shapes(Point2D centroid) { this.centroid = centroid; Console.WriteLine("Shape constructor is called"); }
public rectangle(Point2D centroid) : base(centroid) { }