Table of Contents

Class DrawContours

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

Represents an operator that specifies drawing contour outlines or filled interiors in an image.

public class DrawContours : CanvasElement
Inheritance
DrawContours
Inherited Members

Properties

Contour

Gets or sets the first contour to draw.

ExternalColor

Gets or sets the color of the external contours.

HoleColor

Gets or sets the color of the internal holes.

LineType

Gets or sets a value specifying the line drawing algorithm used to draw the contour boundaries.

MaxLevel

Gets or sets the maximum level of the contour hierarchy to draw.

Thickness

Gets or sets the thickness of the contour lines, if positive. Otherwise, the contour interiors will be drawn.

Methods

GetRenderer()

Returns the contour drawing operation.