FMX.Controls.TControl.LocalToAbsolute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function LocalToAbsolute(const Point: TPointF): TPointF; virtual;

C++

virtual System::Types::TPointF __fastcall LocalToAbsolute(const System::Types::TPointF &Point);

Properties

Type Visibility Source Unit Parent
function public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Transforms and returns a specified point from the local perspective to the absolute perspective.

Use LocalToAbsolute to get the transposed coordinates of a point from the local context to the absolute context of the current control. The absolute context for a control is the parent form area, and the local context is the control area.

P is the point to be transformed.

LocalToAbsolute returns the transformed point.

To have the inverse effect over a point, use AbsoluteToLocal.

See Also