[]
        
(Showing Draft Content)

GrapeCity.Drawing.Rectangle.Translate

Translate Method

Translate(double, double)

Translates this rectangle by the specified amount of distance.

Declaration
public Rectangle Translate(double x, double y)
Public Function Translate(x As Double, y As Double) As Rectangle
Parameters
Type Name Description
double x

The horizontal offset.

double y

The vertical offset

Returns
Type Description
Rectangle

A new Rectangle that is translated by the specified amount.