|
DrawingPolygon Method (UnmanagedImage, ListIntPoint, Color)
|
Draw a polygon on the specified image.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public static void Polygon(
UnmanagedImage image,
List<IntPoint> points,
Color color
)
Public Shared Sub Polygon (
image As UnmanagedImage,
points As List(Of IntPoint),
color As Color
)
Request Example
View SourceParameters
- image
- Type: Accord.ImagingUnmanagedImage
Source image to draw on. - points
- Type: System.Collections.GenericListIntPoint
Points of the polygon to draw. - color
- Type: System.DrawingColor
Polygon's color.
Remarks The method draws a polygon by connecting all points from the
first one to the last one and then connecting the last point with the first one.
See Also