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