Inflates the rectangle width and height by DX and DY. The rectangle is not moved and the center point stays the same.
Namespace: FMX.RS.Graphics
Delphi |
function ScaleRect( ARect: TRect; DX, DY: Single ): TRect; overload; |
Parameters
ARect
Type: TRect
DX
Type: Single
Amount to change the rectangle width
DY
Type: Single
Amount to change the rectangle height
R
Rectangle to inflate
Type: TRect