public CoordinateSystemVM(MainControlVM mainControlVM, Canvas canvas) { this._mainControlVM = mainControlVM; this._canvas = canvas; this.InstantiateViewSettings(); this.AddMovementFunctionality(); this.Vectors = new List <CanvasVector>(); }
public CoordinateSystemVM(MainControlVM mainControlVM, Canvas canvas, CoordinateSystemData data, List <CanvasVector> vectors) { this._mainControlVM = mainControlVM; this._canvas = canvas; this._data = data; this._dynamicData = data; this.AddMovementFunctionality(); if (vectors == null) { this.Vectors = new List <CanvasVector>(); } else { this.Vectors = vectors; } }