Example #1
0
 public circle(Point2D centroid, double radius)
     : base(centroid)
 {
     this.radius = radius;
 }
Example #2
0
 public circle(Point2D centroid)
     : base(centroid)
 {
 }
Example #3
0
 public rectangle(Point2D centroid, double length, double width)
     : base(centroid)
 {
     this.centroid = centroid;
     this.length = length;
     this.width = width;
 }
Example #4
0
 //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");
 }
Example #5
0
 public rectangle(Point2D centroid)
     : base(centroid)
 {
 }