Click or drag to resize

MatFillConvexPoly Method

Fills a convex polygon.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void FillConvexPoly(
	IEnumerable<Point> pts,
	Scalar color,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0
)

Parameters

pts
Type: System.Collections.GenericIEnumerablePoint
The polygon vertices
color
Type: OpenCvSharpScalar
Polygon color
lineType (Optional)
Type: OpenCvSharpLineTypes
Type of the polygon boundaries
shift (Optional)
Type: SystemInt32
The number of fractional bits in the vertex coordinates
See Also