Cv2FillConvexPoly Method OpenCvSharp Class Library
Fills a convex polygon.

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

public static void FillConvexPoly(
	Mat img,
	IEnumerable<Point> pts,
	Scalar color,
	LineType lineType = LineType.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Image
pts
Type: System.Collections.GenericIEnumerablePoint
The polygon vertices
color
Type: OpenCvSharp.CPlusPlusScalar
Polygon color
lineType (Optional)
Type: OpenCvSharpLineType
Type of the polygon boundaries
shift (Optional)
Type: SystemInt32
The number of fractional bits in the vertex coordinates
See Also

Reference