Offset(Rect,Point) Method
In This Topic
Adjusts the location of this rectangle by the specified amount.
Syntax
'Declaration
Public Overloads Shared Function Offset( _
ByVal As Rect, _
ByVal As Point _
) As Rect
public static Rect Offset(
Rect ,
Point
)
Parameters
- r
- The rectangle to adjust.
- offset
- Amount to offset the location.
Return Value
The adjusted rectangle.
See Also