Esempio n. 1
0
        public StrokeDraft(StrokeDraft other)
        {
            //	We can just take a reference to the other draft's stroke
            //	because strokes are never updated after creation
            _stroke = other._stroke;

            //	But we have to take a copy of the position because draft
            //	positions are updated on redrafting
            _position = new Position(other.Position.X, other.Position.Y);
        }
Esempio n. 2
0
 public void Add(StrokeDraft stroke)
 {
     _strokes.Add(stroke);
 }