This documentation is archived and is not being maintained.

Rect.Offset Method

Translates the rectangle by the specified amount.

Name Description
Rect.Offset (Vector) Translates this rectangle by the specified amount.
Rect.Offset (Double, Double) Translates this rectangle by the specified horizontal and vertical amounts.
Rect.Offset (Rect, Vector) Translates the specified rectangle by the specified amount and returns the resulting Rect.
Rect.Offset (Rect, Double, Double) Translates the specified rectangle by the specified horizontal and vertical amounts and returns the resulting Rect.

Calling this method on the empty rectangle (Rect.Empty) is illegal.

Show: