OverlayBitDrawerDrawEllipse Method (Image, OverlayBitDrawMode, Int32, Int32, Int32, 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,
	int centerX,
	int centerY,
	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.
centerX
Type: SystemInt32
Center point of the ellipse.
centerY
Type: SystemInt32
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