Table of Contents

Class DrawablePolygon

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

Draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.

public sealed class DrawablePolygon : IDrawablePolygon, IDrawable
Inheritance
DrawablePolygon
Implements
IDrawablePolygon
IDrawable
Inherited Members

Constructors

DrawablePolygon(params PointD[])

Initializes a new instance of the DrawablePolygon class.

public DrawablePolygon(params PointD[] coordinates)

Parameters

coordinates PointD[]

The coordinates.

DrawablePolygon(IEnumerable<PointD>)

Initializes a new instance of the DrawablePolygon class.

public DrawablePolygon(IEnumerable<PointD> coordinates)

Parameters

coordinates IEnumerable<PointD>

The coordinates.

Properties

Coordinates

Gets the coordinates.

public IReadOnlyList<PointD> Coordinates { get; }

Property Value

IReadOnlyList<PointD>