OverlayBitDrawerDrawEllipse Method (Image, OverlayBitDrawMode, Int32, Point2D, Int32, Int32)

CVB.Net Documentation
Draws an ellipse border on the given image.

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

public static void DrawEllipse(
	Image image,
	OverlayBitDrawMode mode,
	int thickness,
	Point2D center,
	int radiusA,
	int radiusB
)

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 ellipse.
radiusA
Type: SystemInt32
Length of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusB
Type: SystemInt32
Length of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions

ExceptionCondition
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.
See Also

Reference