ImageDrawerDrawLine Method (ImagePlane, Double, Int32, Point2D, Point2D)

CVB.Net Documentation
Draws a line on the given Imageplane.

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

public static void DrawLine(
	ImagePlane plane,
	double intensity,
	int thickness,
	Point2D pt1,
	Point2D pt2
)

Parameters

plane
Type: Stemmer.CvbImagePlane
Image plane to draw on.
intensity
Type: SystemDouble
Intensity value to draw.
thickness
Type: SystemInt32
Line thickness in pixels.
pt1
Type: Stemmer.CvbPoint2D
Start point.
pt2
Type: Stemmer.CvbPoint2D
End point.
Exceptions

ExceptionCondition
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.
See Also

Reference