System.Drawing.Graphics.PolygonSetup C# (CSharp) 메소드

PolygonSetup() 개인적인 메소드

private PolygonSetup ( PointF points ) : void
points PointF
리턴 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]);
        }