public void DrawLines(Pen pen, Point [] points)
{
if (pen == null)
throw new ArgumentNullException ("pen");
if (points == null)
throw new ArgumentNullException ("points");
int count = points.Length;
if (count < 2)
return;
MoveTo (points [0]);
for (int i = 1; i < count; i++)
LineTo (points [i]);
StrokePen (pen);
}