Click or drag to resize

Cv2FillConvexPoly Method (InputOutputArray, InputArray, Scalar, LineTypes, Int32)

Fills a convex polygon.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void FillConvexPoly(
	InputOutputArray img,
	InputArray pts,
	Scalar color,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharpInputOutputArray
Image
pts
Type: OpenCvSharpInputArray
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