public override void Apply(IList <Rectangle> updates = null) { if (Points != null && Points.Length > 1) { var drawUpdates = updates ?? new List <Rectangle> (); BGI.MoveTo(Points [0]); for (int i = 1; i < Points.Length; i++) { BGI.LineTo(Points [i], drawUpdates); } if (updates == null) { BGI.UpdateRegion(drawUpdates); } } }
public override void Apply(IList <Rectangle> updates = null) { BGI.MoveTo(Point.X, Point.Y); }