Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public static void DrawLine( ImagePlane plane, OverlayBitDrawMode mode, int thickness, Point2D pt1, Point2D pt2 )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
Image plane to draw on. - mode
- Type: Stemmer.CvbOverlayBitDrawMode
Either Set or Erase the overlay bits. - thickness
- Type: SystemInt32
Line thickness in pixels. - pt1
- Type: Stemmer.CvbPoint2D
Start point. - pt2
- Type: Stemmer.CvbPoint2D
End point.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Image of given plane was disposed. |
ArgumentException | The thickness is smaller than one. |
FormatException | plane has no overlay bit set (not an overlay Image). |
See Also