Polygon() public method

public Polygon ( IList coordinates ) : void
coordinates IList
return void
Example #1
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand)
 {
     if (wand != null)
     {
         wand.Polygon(_Coordinates.ToList());
     }
 }
Example #2
0
 /// <summary>
 /// Draws this instance with the drawing wand.
 /// </summary>
 /// <param name="wand">The want to draw on.</param>
 void IDrawingWand.Draw(DrawingWand wand) => wand?.Polygon(_coordinates.ToList());