Example #1
0
 public Object()
 {
     this.ShapeType = 0; this.Type = 1;
     this.Transform = new _Transform();
     this.Position = new _Position();
     this.Points = new List<_Point>();
     _Point temp = new _Point(256, 694);
     this.Points.Add(temp);
     _Point temp2 = new _Point(359, 734);
     this.Points.Add(temp);
     this.Label = new _Label();
               
 }
 public _Object(int ShapeType, int Type,
                double Height, double Width, int ShowRoof, int ExtendedPoint, int Side, int Direction,
                int Bottom, int Right, int Top, int Left,
                int y1, int x1, int y2, int x2,
                String Text)
 {
     this.ShapeType = ShapeType;
     this.Type      = Type;
     this.Transform = new _Transform(Height, Width, ShowRoof, ExtendedPoint, Side, Direction);
     this.Position  = new _Position(Bottom, Right, Top, Left);
     this.Points    = new _Points(y1, x1, y2, x2);
     this.Label     = new _Label(Text);
 }