Table of Contents

Class Circle

Namespace
Bonsai.Vision.Drawing
Assembly
Bonsai.Vision.dll

Represents an operator that specifies drawing a circle with the specified center and radius.

public class Circle : CanvasElement
Inheritance
Circle
Inherited Members

Properties

Center

Gets or sets the center of the circle.

public Point Center { get; set; }

Property Value

Point

Color

Gets or sets the color of the circle.

[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar Color { get; set; }

Property Value

Scalar

LineType

Gets or sets a value specifying the line drawing algorithm used to draw the circle boundary.

public LineFlags LineType { get; set; }

Property Value

LineFlags

Radius

Gets or sets the radius of the circle.

public int Radius { get; set; }

Property Value

int

Shift

Gets or sets the number of fractional bits in the center coordinates and radius value.

public int Shift { get; set; }

Property Value

int

Thickness

Gets or sets the thickness of the circle boundary, if positive. Otherwise, indicates that the circle should be filled.

public int Thickness { get; set; }

Property Value

int

Methods

GetRenderer()

Returns the circle drawing operation.

protected override Action<IplImage> GetRenderer()

Returns

Action<IplImage>

The Action<T> object that will be invoked to apply the drawing operation to the canvas bitmap during rendering.