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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvFillConvexPoly( IntPtr img, Point[] pts, int npts, MCvScalar color, LINE_TYPE lineType, int shift ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvFillConvexPoly ( _ img As IntPtr, _ pts As Point(), _ npts As Integer, _ color As MCvScalar, _ lineType As LINE_TYPE, _ shift As Integer _ ) |
Visual C++ |
---|
public: static void cvFillConvexPoly( IntPtr img, [InAttribute] array<Point>^ pts, int npts, MCvScalar color, LINE_TYPE lineType, int shift ) |
Parameters
- img
- Type: System..::.IntPtr
Image
- pts
- Type: array<
System.Drawing..::.Point
>[]()[]
Array of pointers to a single polygon
- npts
- Type: System..::.Int32
Polygon vertex counter
- color
- Type: Emgu.CV.Structure..::.MCvScalar
Polygon color
- lineType
- Type: Emgu.CV.CvEnum..::.LINE_TYPE
Type of the polygon boundaries
- shift
- Type: System..::.Int32
Number of fractional bits in the vertex coordinates