Table of Contents

Class Path

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

Represents an operator that specifies drawing a path from an array of vertices.

public class Path : CanvasElement
Inheritance
Path
Inherited Members

Properties

Color

Gets or sets the color of the polylines connecting the path.

[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 polylines.

public LineFlags LineType { get; set; }

Property Value

LineFlags

Points

Gets or sets the array of vertices specifying the path. NaN values will not be connected or drawn.

public Point2f[] Points { get; set; }

Property Value

Point2f[]

Shift

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

public int Shift { get; set; }

Property Value

int

Thickness

Gets or sets the thickness of the polyline edges.

public int Thickness { get; set; }

Property Value

int

Methods

GetRenderer()

Returns the path 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.