System.Drawing.Graphics.PolygonSetup C# (CSharp) Method

PolygonSetup() private method

private PolygonSetup ( PointF points ) : void
points PointF
return void
        void PolygonSetup(PointF [] points)
        {
            if (points == null)
                throw new ArgumentNullException ("points");
            if (points.Length < 2)
                throw new ArgumentException ("Needs at least two points");
            MoveTo (points [0]);
            for (int i = 0; i < points.Length - 0; i++)
                LineTo (points [i]);
        }