Beispiel #1
0
 public Circle(Location location, int diameter)
     : base(location)
 {
     this.diameter = diameter;
 }
Beispiel #2
0
 public TextBlock(Location location, int width, int height, string text)
     : base(location, width, height)
 {
     this.text = text;
 }
Beispiel #3
0
 public Rectangle(Location location, int width, int height)
     : base(location)
 {
     Width = width;
     Height = height;
 }
Beispiel #4
0
 public Ellipse(Location location, int horizontalDiameter, int verticalDiameter)
     : base(location)
 {
     this.horizontalDiameter = horizontalDiameter;
     this.verticalDiameter = verticalDiameter;
 }
Beispiel #5
0
 public Square(Location location, int width)
     : base(location)
 {
     this.width = width;
 }