CanvasDrawPolygon Method (Point, AtalaPen) |
Draw a series of connected lines that form a closed polygon specifying the border pen.
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
)
Public Sub DrawPolygon (
points As Point(),
pen As AtalaPen
)
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.
Remarks The first and last points are connected, forming the closed polygon.
See Also