Пример #1
0
 //constructors
 public Circle(Centroid Center, double Radius)
     : base(Center)
 {
     this.Radius = Radius;
 }
Пример #2
0
 public Shapes(Centroid Center)
 {
     this.Center = Center;
 }
Пример #3
0
 public Square(Centroid Center, double Width, double Height)
     : base(Center)
 {
     this.Width = Width; this.Height = Height;
 }
Пример #4
0
 public Centroid(Centroid a)
 {
     x = a.x; y = a.y;
 }