FMX.Utils.PointToString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PointToString(const P: TPointF): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall PointToString(const System::Types::TPointF &P);

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 point to an AnsiString.

For example, if the point specified through the R parameter has the coordinates:

  • X: 100 and Y: 200, then PointToString returns '(100,200)'.
  • X: 100.24 and Y: 200.634, then PointToString returns '(100.23999786377,200.634002685547)'.

See Also