Esempio n. 1
0
 public GCaption(GType type, Point point) : base(type)
 {
     this.point = point;
     angle      = 0.0f;
     range      = type.GetRangeStrong(this);
     range.Add(this);
 }
Esempio n. 2
0
 public GPolyline(GType type, Point[] points) : base(type)
 {
     if (points.Length < 2)
     {
         throw new GmException("Polyline should have 2 points at least.");
     }
     this.points = points;
     bounds.Init(points);
     range = type.GetRangeStrong(this);
     range.Add(this);
 }
Esempio n. 3
0
 public GPoint(GType type, Point point) : base(type)
 {
     this.point = point;
     range      = type.GetRangeStrong(this);
     range.Add(this);
 }