This documentation is archived and is not being maintained.

Rect.Offset Method

Moves a rectangle by the specified amount.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Offset(Vector) Moves the rectangle by the specified vector.
Public method Offset(Double, Double) Moves the rectangle by the specified horizontal and vertical amounts.
Public method Static member Offset(Rect, Vector) Returns a rectangle that is offset from the specified rectangle by using the specified vector.
Public method Static member Offset(Rect, Double, Double) Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.
Top
Show: