Draw a polyline on the specified image.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static void Polyline(
	BitmapData imageData,
	List<IntPoint> points,
	Color color
)

Parameters

imageData
Type: System.Drawing.Imaging..::.BitmapData
Source image data to draw on.
points
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Points of the polyline to draw.
color
Type: System.Drawing..::.Color
polyline's color.

Remarks

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

See Also