Fills the area bounded by one or more polygons
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void FillPoly( Mat img, IEnumerable<IEnumerable<Point>> pts, Scalar color, LineType lineType = LineType.Link8, int shift = 0, Nullable<Point> offset = null )
Parameters
- img
- Type: OpenCvSharp.CPlusPlusMat
Image - pts
- Type: System.Collections.GenericIEnumerableIEnumerablePoint
Array of polygons, each represented as an array of points - 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 - offset (Optional)
- Type: SystemNullablePoint
[Missing <param name="offset"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.FillPoly(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},OpenCvSharp.CPlusPlus.Scalar,OpenCvSharp.LineType,System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.Point})"]
See Also