Draws a circle border on the given image.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public static void DrawCircle( Image image, OverlayBitDrawMode mode, int thickness, Point2D center, int radius )
Parameters
- image
- Type: Stemmer.CvbImage
Image to draw on. - mode
- Type: Stemmer.CvbOverlayBitDrawMode
Either Set or Erase the overlay bits. - thickness
- Type: SystemInt32
Line thickness in pixels. - center
- Type: Stemmer.CvbPoint2D
Center point of the circle. - radius
- Type: SystemInt32
Radius of the circle in pixels.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | image is null (Nothing in Visual Basic). |
ObjectDisposedException | Given image was disposed. |
ArgumentException | The thickness is smaller than one. |
See Also