Click or drag to resize

Cv2.FillPoly Method (InputOutputArray, InputArray, Scalar, LineTypes, Int32, Nullable<Point>)

Fills the area bounded by one or more polygons

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void FillPoly(
	InputOutputArray img,
	InputArray pts,
	Scalar color,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0,
	Nullable<Point> offset = null
)

Parameters

img
Type: OpenCvSharp.InputOutputArray
Image
pts
Type: OpenCvSharp.InputArray
Array of polygons, each represented as an array of points
color
Type: OpenCvSharp.Scalar
Polygon color
lineType (Optional)
Type: OpenCvSharp.LineTypes
Type of the polygon boundaries
shift (Optional)
Type: System.Int32
The number of fractional bits in the vertex coordinates
offset (Optional)
Type: System.Nullable<Point>

[Missing <param name="offset"/> documentation for "M:OpenCvSharp.Cv2.FillPoly(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,OpenCvSharp.Scalar,OpenCvSharp.LineTypes,System.Int32,System.Nullable{OpenCvSharp.Point})"]

See Also