Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSCustomRect > Methods
TRSCustomRect.Translate(Integer,Integer) Method
Moves the object rectangle Top, Left by the specified delta X and Y. It retains the width and height of the rectangle.
Namespace: RSGraphics
Delphi
public procedure Translate( DX, DY: Integer ); virtual;
Parameters
DX
Type: Integer
DY
•RSGraphics.TRSCustomRect.BoundsRect
•RSGraphics.TRSCustomRect.MoveTo(Integer,Integer)
•RSGraphics.TRSCustomRect.Scale(Integer,Integer)
•TRSCustomRect
•RSGraphics