Click or drag to resize

CanvasDrawPolygon Method (Point, AtalaPen, Fill)

Draw a series of connected lines that form a closed polygon specifying the border pen and inside fill.

Namespace:  Atalasoft.Imaging.Drawing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void DrawPolygon(
	Point[] points,
	AtalaPen pen,
	Fill fill
)

Parameters

points
Type: System.DrawingPoint
An array of points forming a polygon that straight lines are drawn through.
pen
Type: Atalasoft.Imaging.DrawingAtalaPen
The %AtalaPen% controlling the border characteristics.
fill
Type: Atalasoft.Imaging.DrawingFill
The %Fill% specifying the fill characteristics.
Remarks
The first and last points are connected, forming the closed polygon.
See Also