public Stroke AddStroke(BrushColor color, BrushSize size, Vector2[] path) { if (color != null && size != null && path != null && path.Length > 1) { var stroke = new Stroke(this, color, size, path); #warning change concat addition to lists eventually Strokes = Strokes.Concat(new Stroke[] { stroke }).ToArray(); OnChanged.SafeInvoke(this); return(stroke); } else { throw new ArgumentException("AddStroke input arguments are not valid"); } }