Accord.Imaging.Drawing.Polyline C# (CSharp) Method

Polyline() public static method

Draw a polyline on the specified image.

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

public static Polyline ( BitmapData imageData, List points, Color color ) : void
imageData System.Drawing.Imaging.BitmapData Source image data to draw on.
points List Points of the polyline to draw.
color Color polyline's color.
return void
        public static void Polyline(BitmapData imageData, List<IntPoint> points, Color color)
        {
            Polyline(new UnmanagedImage(imageData), points, color);
        }

Same methods

Drawing::Polyline ( UnmanagedImage image, List points, Color color ) : void