System.Types.MultiplyRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MultiplyRect(var R: TRectF; const DX, DY: Single);

C++

extern DELPHI_PACKAGE void __fastcall MultiplyRect(TRectF &R, const float DX, const float DY);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Types.pas
System.Types.hpp
System.Types System.Types

Description

Enlarges a rectangle by a specific amount.

MultiplyRect scales the rectangle's Width by multiplying DX with the Left and Right side.

MultiplyRect scales the rectangle's Height by multiplying DY with the Top and Bottom side.

See Also

Code Examples