Translate the Rectangle by adding a vector Point to it.
Syntax

[C#]

static Rectangle operator + (Rectangle r, Point p);
static Rectangle operator + (Rectangle r, Size s);

[Visual Basic]

Shared Function Operator + (r As Rectangle, p As Point) As Rectangle
Shared Function Operator + (r As Rectangle, s As Size) As Rectangle
Params
Name Description
r Rectangle for translation.
p Point by which it should be translated.
s Size by which it should be translated.
return A Rectangle containing the result.
Notes

None.

Example

None.