Table of Contents

Method Inflate

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Inflate(int, int)

Inflates this Rect by the specified amount.

public void Inflate(int width, int height)

Parameters

width int

The amount to inflate this Rectangle horizontally.

height int

The amount to inflate this Rectangle vertically.

Inflate(Size)

Inflates this Rect by the specified amount.

public void Inflate(Size size)

Parameters

size Size

The amount to inflate this rectangle.

Inflate(Rect, int, int)

Creates and returns an inflated copy of the specified Rect structure.

public static Rect Inflate(Rect rect, int x, int y)

Parameters

rect Rect

The Rectangle with which to start. This rectangle is not modified.

x int

The amount to inflate this Rectangle horizontally.

y int

The amount to inflate this Rectangle vertically.

Returns

Rect