Fills a convex polygon.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void FillConvexPoly(
IEnumerable<Point> pts,
Scalar color,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Sub FillConvexPoly (
pts As IEnumerable(Of Point),
color As Scalar,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0
)
public:
void FillConvexPoly(
IEnumerable<Point>^ pts,
Scalar color,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
member FillConvexPoly :
pts : IEnumerable<Point> *
color : Scalar *
?lineType : LineTypes *
?shift : int
(* Defaults:
let _lineType = defaultArg lineType LineTypes.Link8
let _shift = defaultArg shift 0
*)
-> unit
function FillConvexPoly(pts, color, lineType, shift);
Parameters
- pts
- Type: System.Collections.GenericIEnumerablePoint
The polygon vertices - 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
See Also