ImageDrawerDrawLines Method (Image, RgbColor, Int32, Point2D)

CVB.Net Documentation
Draws multiple connected lines as by the given points on all image planes.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static void DrawLines(
	Image image,
	RgbColor color,
	int thickness,
	params Point2D[] points
)

Parameters

image
Type: Stemmer.CvbImage
Image to draw on.
color
Type: Stemmer.CvbRgbColor
Intensity value to draw.
thickness
Type: SystemInt32
Line thickness in pixels.
points
Type: Stemmer.CvbPoint2D
Points to draw lines with.
Exceptions

ExceptionCondition
ArgumentNullExceptionimage or points is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.
Remarks

Only works on three-plane images (alpha component is ignored).
See Also

Reference