Click or drag to resize

MatFillPoly Method

Fills the area bounded by one or more polygons

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public void FillPoly(
	IEnumerable<IEnumerable<Point>> pts,
	Scalar color,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0,
	Nullable<Point> offset = null
)

Parameters

pts
Type: System.Collections.GenericIEnumerableIEnumerablePoint
Array of polygons, each represented as an array of points
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
offset (Optional)
Type: SystemNullablePoint
See Also