LineCurve(Vector2 v1, Vector2 v2) { type = 'LineCurve'; isLineCurve = true; this.v1 = v1; this.v2 = v2; }