| Cv2FillConvexPoly Method (InputOutputArray, InputArray, Scalar, LineTypes, Int32) |
Fills a convex polygon.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void FillConvexPoly(
InputOutputArray img,
InputArray pts,
Scalar color,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Shared Sub FillConvexPoly (
img As InputOutputArray,
pts As InputArray,
color As Scalar,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0
)
public:
static void FillConvexPoly(
InputOutputArray^ img,
InputArray^ pts,
Scalar color,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
static member FillConvexPoly :
img : InputOutputArray *
pts : InputArray *
color : Scalar *
?lineType : LineTypes *
?shift : int
(* Defaults:
let _lineType = defaultArg lineType LineTypes.Link8
let _shift = defaultArg shift 0
*)
-> unit
Parameters
- img
- Type: OpenCvSharpInputOutputArray
Image - pts
- Type: OpenCvSharpInputArray
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