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);
}
}