/// <summary> /// Construct a Sketch with Strokes, Shapes, and XML attributes. /// </summary> /// <param name="strokes">The Strokes in the Sketch</param> /// <param name="shapes">The Shapes in the Sketch</param> /// <param name="XmlAttrs">XML attributes of the Sketch</param> public Sketch(ArrayList strokes, ArrayList shapes, XmlStructs.XmlSketchAttrs XmlAttrs) { this.strokes = new ArrayList(); this.shapes = new ArrayList(); this.XmlAttrs = XmlAttrs; this.AddStrokes(strokes); this.AddShapes(shapes); }
/// <summary> /// Construct a Sketch with Strokes, Shapes, and XML attributes. /// </summary> /// <param name="strokes">The Strokes in the Sketch</param> /// <param name="shapes">The Shapes in the Sketch</param> /// <param name="XmlAttrs">XML attributes of the Sketch</param> public Sketch(Stroke[] strokes, Shape[] shapes, XmlStructs.XmlSketchAttrs XmlAttrs) : this(new ArrayList(strokes), new ArrayList(shapes), XmlAttrs) { // Calls the main constructor }