Rect2dInflate Method (Rect, Int32, Int32)
|
Creates and returns an inflated copy of the specified Rect2d structure.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static Rect Inflate(
Rect rect,
int x,
int y
)
Public Shared Function Inflate (
rect As Rect,
x As Integer,
y As Integer
) As Rect
public:
static Rect Inflate(
Rect rect,
int x,
int y
)
static member Inflate :
rect : Rect *
x : int *
y : int -> Rect
OpenCvSharp.Rect2d.Inflate = function(rect, x, y);
Parameters
- rect
- Type: OpenCvSharpRect
The Rectangle with which to start. This rectangle is not modified. - x
- Type: SystemInt32
The amount to inflate this Rectangle horizontally. - y
- Type: SystemInt32
The amount to inflate this Rectangle vertically.
Return Value
Type:
Rect
See Also