FMX.Utils.RectToString
Delphi
function RectToString(const R: TRectF): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall RectToString(const System::Types::TRectF &R);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Utils.pas FMX.Utils.hpp |
FMX.Utils | FMX.Utils |
Description
Converts the coordinates of the given rectangle to an AnsiString.
For example, if the rectangle specified through the R
parameter has the coordinates:
- Left: 100, Top: 200, Right: 300, and Bottom: 400, then RectToString returns
'(100,200,300,400)'
. - Left: 100.25, Top: 200.5, Right: 300.25, and Bottom: 400.5, then RectToString returns
'(100.25,200.5,300.25,400.5)'
.