[]
        
(Showing Draft Content)

GrapeCity.Drawing.Rectangle.Offset

Offset Method

Offset(double, double)

Adjusts the location of this rectangle by the specified amount.

Declaration
public void Offset(double x, double y)
Public Sub Offset(x As Double, y As Double)
Parameters
Type Name Description
double x

The horizontal offset.

double y

The vertical offset

Offset(Point)

Adjusts the location of this rectangle by the specified amount.

Declaration
public void Offset(Point location)
Public Sub Offset(location As Point)
Parameters
Type Name Description
Point location

The horizontal and vertical offset.