public VectorObject(VectorPoint position) { this.position = position; }
public static VectorPoint DivPoints(VectorPoint a, VectorPoint b) { return(new VectorPoint(a.x / b.x, a.y / b.y)); }
public VectorEllipse(VectorPoint point, VectorPoint radii, bool fillin) : base(point) { this.radii = radii; this.fillin = fillin; }
public static VectorPoint SubPoints(VectorPoint a, VectorPoint b) { return(new VectorPoint(a.x - b.x, a.y - b.y)); }
public static VectorPoint MultPoints(VectorPoint a, VectorPoint b) { return(new VectorPoint(a.x * b.x, a.y * b.y)); }
public static VectorPoint AddPoints(VectorPoint a, VectorPoint b) { return(new VectorPoint(a.x + b.x, a.y + b.y)); }
public void addPoint(VectorPoint point) { points.Add(point); }
public VectorLine(VectorPoint start) : base(start) { points = new List <VectorPoint>(); }
public VectorText(VectorPoint point, string text) : base(point) { this.text = text; }
public VectorBox(VectorPoint position, VectorPoint size, bool fillin) : base(position) { this.size = size; this.fillin = fillin; }