ImageMagick.DrawingWand.Polygon C# (CSharp) Метод

Polygon() публичный Метод

public Polygon ( IList coordinates ) : void
coordinates IList
Результат void
    public void Polygon(IList<PointD> coordinates)
    {
      if (coordinates == null)
        return;

      using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates))
      {
        _NativeInstance.Polygon(pointInfo, pointInfo.Count);
      }
    }

Usage 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());
     }
 }
All Usage Examples Of ImageMagick.DrawingWand::Polygon