Draws a line on all planes of the given image.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public static void DrawLine( Image image, double[] intensity, int thickness, Point2D pt1, Point2D pt2 )
Parameters
- image
- Type: Stemmer.CvbImage
Image 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
Exception | Condition |
---|---|
ArgumentNullException | image or intensity is null (Nothing in Visual Basic). |
ObjectDisposedException | Image of given image was disposed. |
ArgumentException | The thickness is smaller than one or the length of intensity is not equal to the plane count. |
See Also