| Cv2FillPoly Method (InputOutputArray, InputArray, Scalar, LineTypes, Int32, NullablePoint) |
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
)
Public Shared Sub FillPoly (
img As InputOutputArray,
pts As InputArray,
color As Scalar,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0,
Optional offset As Nullable(Of Point) = Nothing
)
public:
static void FillPoly(
InputOutputArray^ img,
InputArray^ pts,
Scalar color,
LineTypes lineType = LineTypes::Link8,
int shift = 0,
Nullable<Point> offset = nullptr
)
static member FillPoly :
img : InputOutputArray *
pts : InputArray *
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
- img
- Type: OpenCvSharpInputOutputArray
Image - pts
- Type: OpenCvSharpInputArray
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.Cv2.FillPoly(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,OpenCvSharp.Scalar,OpenCvSharp.LineTypes,System.Int32,System.Nullable{OpenCvSharp.Point})"]
See Also