public virtual void EndStroke() { activeStroke = null; }
private void QueuePaddedDrawArea(Stroke s) { QueuePaddedDrawArea((int)s.X,(int)s.Y,(int)s.Width,(int)s.Height); }
public virtual void BeginStroke(Pen style) { activeStroke = new Stroke(style); Strokes.RemoveRange(Strokes.Count - undo, undo); undo = 0; Strokes.Add(activeStroke); }