Draws an ellipse border on the given Imageplane.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public static void DrawEllipse( ImagePlane plane, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radiusA, int radiusB, Angle rotation )
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. - 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. - rotation
- Type: Stemmer.CvbAngle
Rotation of the ellipse in degrees.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Image of given plane was disposed. |
ArgumentException | The thickness is smaller than one. |
See Also