Click or drag to resize
Accord.NET (logo)

DrawingPolyline Method (BitmapData, ListIntPoint, Color)

Draw a polyline on the specified image.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public static void Polyline(
	BitmapData imageData,
	List<IntPoint> points,
	Color color
)
Request Example View Source

Parameters

imageData
Type: System.Drawing.ImagingBitmapData
Source image data to draw on.
points
Type: System.Collections.GenericListIntPoint
Points of the polyline to draw.
color
Type: System.DrawingColor
polyline's color.
Remarks

The method draws a polyline by connecting all points from the first one to the last one. Unlike Polygon(BitmapData, ListIntPoint, Color) method, this method does not connect the last point with the first one.

See Also