Offset Method
Offset(int, int)
Adjusts the location of this rectangle by the specified amount.
Declaration
public void Offset(int x, int y)
Public Sub Offset(x As Integer, y As Integer)
Parameters
Type |
Name |
Description |
int |
x |
The horizontal offset.
|
int |
y |
The vertical offset
|