Method Inflate
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Inflate(float, float)
Inflates this Rect by the specified amount.
public void Inflate(float width, float height)
Parameters
widthfloatThe amount to inflate this Rectangle horizontally.
heightfloatThe amount to inflate this Rectangle vertically.
Inflate(Size2f)
Inflates this Rect by the specified amount.
public void Inflate(Size2f size)
Parameters
sizeSize2fThe amount to inflate this rectangle.
Inflate(Rect, int, int)
Creates and returns an inflated copy of the specified Rect2f structure.
public static Rect Inflate(Rect rect, int x, int y)
Parameters
rectRectThe Rectangle with which to start. This rectangle is not modified.
xintThe amount to inflate this Rectangle horizontally.
yintThe amount to inflate this Rectangle vertically.