Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSCustomRSRect > Methods
TRSCustomRSRect.Scale(Single,Single) 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: Single ); virtual;
Parameters
DX
Type: Single
DY
•RSGraphics.TRSCustomRSRect.BoundsRect
•RSGraphics.TRSCustomRSRect.MoveTo(Single,Single)
•RSGraphics.TRSCustomRSRect.Translate(Single,Single)
•TRSCustomRSRect
•RSGraphics