Method Inflate
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Inflate(double, double)
Inflates this Rect by the specified amount.
public void Inflate(double width, double height)
Parameters
widthdoubleThe amount to inflate this Rectangle horizontally.
heightdoubleThe amount to inflate this Rectangle vertically.
Inflate(Size2d)
Inflates this Rect by the specified amount.
public void Inflate(Size2d size)
Parameters
sizeSize2dThe amount to inflate this rectangle.
Inflate(Rect, int, int)
Creates and returns an inflated copy of the specified Rect2d 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.