Example #1
0
 public VectorObject(VectorPoint position)
 {
     this.position = position;
 }
Example #2
0
 public static VectorPoint DivPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x / b.x, a.y / b.y));
 }
Example #3
0
 public VectorEllipse(VectorPoint point, VectorPoint radii, bool fillin) : base(point)
 {
     this.radii  = radii;
     this.fillin = fillin;
 }
Example #4
0
 public static VectorPoint SubPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x - b.x, a.y - b.y));
 }
Example #5
0
 public static VectorPoint MultPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x * b.x, a.y * b.y));
 }
Example #6
0
 public static VectorPoint AddPoints(VectorPoint a, VectorPoint b)
 {
     return(new VectorPoint(a.x + b.x, a.y + b.y));
 }
Example #7
0
 public void addPoint(VectorPoint point)
 {
     points.Add(point);
 }
Example #8
0
 public VectorLine(VectorPoint start) : base(start)
 {
     points = new List <VectorPoint>();
 }
Example #9
0
 public VectorText(VectorPoint point, string text) : base(point)
 {
     this.text = text;
 }
Example #10
0
 public VectorBox(VectorPoint position, VectorPoint size, bool fillin) : base(position)
 {
     this.size   = size;
     this.fillin = fillin;
 }