CvArrDrawContours Method (CvSeqCvPoint, CvScalar, CvScalar, Int32) OpenCvSharp Class Library
Draws contour outlines or interiors in the image

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void DrawContours(
	CvSeq<CvPoint> contour,
	CvScalar externalColor,
	CvScalar holeColor,
	int maxLevel
)

Parameters

contour
Type: OpenCvSharpCvSeqCvPoint
Reference to the first contour.
externalColor
Type: OpenCvSharpCvScalar
Color of the external contours.
holeColor
Type: OpenCvSharpCvScalar
Color of internal contours (holes).
maxLevel
Type: SystemInt32
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(max_level)-1 level.
See Also

Reference