| MatFillPoly Method |
Fills the area bounded by one or more polygons
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void FillPoly(
IEnumerable<IEnumerable<Point>> pts,
Scalar color,
LineTypes lineType = LineTypes.Link8,
int shift = 0,
Nullable<Point> offset = null
)
Public Sub FillPoly (
pts As IEnumerable(Of IEnumerable(Of Point)),
color As Scalar,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0,
Optional offset As Nullable(Of Point) = Nothing
)
public:
void FillPoly(
IEnumerable<IEnumerable<Point>^>^ pts,
Scalar color,
LineTypes lineType = LineTypes::Link8,
int shift = 0,
Nullable<Point> offset = nullptr
)
member FillPoly :
pts : IEnumerable<IEnumerable<Point>> *
color : Scalar *
?lineType : LineTypes *
?shift : int *
?offset : Nullable<Point>
(* Defaults:
let _lineType = defaultArg lineType LineTypes.Link8
let _shift = defaultArg shift 0
let _offset = defaultArg offset null
*)
-> unit
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
[Missing <param name="offset"/> documentation for "M:OpenCvSharp.Mat.FillPoly(System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.Point}},OpenCvSharp.Scalar,OpenCvSharp.LineTypes,System.Int32,System.Nullable{OpenCvSharp.Point})"]
See Also