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, Line line )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
Image plane to draw on. - intensity
- Type: SystemDouble
Intensity value to draw. - thickness
- Type: SystemInt32
Line thickness in pixels. - line
- Type: Stemmer.Cvb.Geometry2DLine
Line to draw.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Image of given plane was disposed. |
ArgumentException | The thickness is smaller than one. |
DivideByZeroException | The line's normal is too small |
See Also