http://www.emgu.com
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public void Draw(
	Seq<Point> c,
	TColor externalColor,
	TColor holeColor,
	int maxLevel,
	int thickness
)
Visual Basic
Public Sub Draw ( _
	c As Seq(Of Point), _
	externalColor As TColor, _
	holeColor As TColor, _
	maxLevel As Integer, _
	thickness As Integer _
)
Visual C++
public:
void Draw(
	Seq<Point>^ c, 
	TColor externalColor, 
	TColor holeColor, 
	int maxLevel, 
	int thickness
)

Parameters

c
Type: Emgu.CV..::..Seq<(Of <(<'Point>)>)>
Pointer to the first contour
externalColor
Type: TColor
Color of the external contours
holeColor
Type: TColor
Color of internal contours (holes).
maxLevel
Type: System..::..Int32
Maximal level for drawn contours. If 0, only contour is drawn. If 1, the contour and all contours after it on the same level are drawn. If 2, all contours after and all contours one level below the contours are drawn, etc. If the value is negative, the function does not draw the contours following after contour but draws child contours of contour up to abs(maxLevel)-1 level
thickness
Type: System..::..Int32
Thickness of lines the contours are drawn with. If it is negative, the contour interiors are drawn

See Also