Table of Contents

Class FillPolygon

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

Represents an operator that specifies filling an area bounded by several polygonal contours.

public class FillPolygon : CanvasElement
Inheritance
FillPolygon
Inherited Members

Properties

Color

Gets or sets the color of the filled area.

[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 polygon boundaries.

public LineFlags LineType { get; set; }

Property Value

LineFlags

Points

Gets or sets the array of vertices specifying each polygon boundary.

public Point[][] Points { get; set; }

Property Value

Point[][]

Shift

Gets or sets the number of fractional bits in the vertex coordinates.

public int Shift { get; set; }

Property Value

int

Methods

GetRenderer()

Returns the polygon filling 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.