Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSCustomRect > Methods
TRSCustomRect.Scale(Integer,Integer) Method
Scales the object rectangle by the specified DX, DY. The scaling is done from the rectangle's center point so Left, Right, Top, and Bottom all change.
Namespace: RSGraphics
Delphi
public procedure Scale( DX, DY: Integer ); virtual;
Parameters
DX
Type: Integer
DY
•RSGraphics.TRSCustomRect.BoundsRect
•RSGraphics.TRSCustomRect.MoveTo(Integer,Integer)
•RSGraphics.TRSCustomRect.Translate(Integer,Integer)
•TRSCustomRect
•RSGraphics