Exemple #1
0
 public Parallelogram()
 {
     shape               = new ShapeModel();
     shape.Angle         = 30;
     shape.ShapeTypeEnum = ShapeModel.ShapeType.PARALLELOGRAM;
 }
Exemple #2
0
 public Circle()
 {
     shape = new ShapeModel();
     shape.ShapeTypeEnum = ShapeModel.ShapeType.CIRCLE;
 }
Exemple #3
0
 public Rectangle()
 {
     shape = new ShapeModel();
     shape.ShapeTypeEnum = ShapeModel.ShapeType.RECTANGLE;
 }
Exemple #4
0
 public Polygon()
 {
     shape = new ShapeModel();
     shape.ShapeTypeEnum = ShapeModel.ShapeType.POLYGON;
 }
Exemple #5
0
 public Square()
 {
     shape = new ShapeModel();
     shape.ShapeTypeEnum = ShapeModel.ShapeType.SQUARE;
 }