Table of Contents

Operator operator -

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

operator -(Rect, Point)

Shifts rectangle by a certain offset

public static Rect operator -(Rect rect, Point pt)

Parameters

rect Rect
pt Point

Returns

Rect

operator -(Rect, Size)

Expands or shrinks rectangle by a certain amount

public static Rect operator -(Rect rect, Size size)

Parameters

rect Rect
size Size

Returns

Rect