Fills convex polygon interior. This function is much faster than The function cvFillPoly and can fill not only the convex polygons but any monotonic polygon, i.e. a polygon whose contour intersects every horizontal line (scan line) twice at the most

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvFillConvexPoly(
	IntPtr img,
	Point[] pts,
	int npts,
	MCvScalar color,
	LINE_TYPE lineType,
	int shift
)
Public Shared Sub cvFillConvexPoly ( _
	img As IntPtr, _
	pts As Point(), _
	npts As Integer, _
	color As MCvScalar, _
	lineType As LINE_TYPE, _
	shift As Integer _
)
public:
static void cvFillConvexPoly(
	IntPtr img, 
	[InAttribute] array<Point>^ pts, 
	int npts, 
	MCvScalar color, 
	LINE_TYPE lineType, 
	int shift
)

Parameters

img
IntPtr
Image
pts
array<Point>[]()[][]
Array of pointers to a single polygon
npts
Int32
Polygon vertex counter
color
MCvScalar
Polygon color
lineType
LINE_TYPE
Type of the polygon boundaries
shift
Int32
Number of fractional bits in the vertex coordinates

See Also