AkaCore.AkaLib.AGeometry.Polygon.Draw C# (CSharp) 메소드

Draw() 공개 메소드

public Draw ( System color, int width = 1 ) : void
color System
width int
리턴 void
            public void Draw(System.Drawing.Color color, int width = 1)
            {
                for (var i = 0; i <= Points.Count - 1; i++)
                {
                    var nextIndex = (Points.Count - 1 == i) ? 0 : (i + 1);
                    DrawLineInWorld(Points[i].To3D(), Points[nextIndex].To3D(), width, color);
                }
            }