Show: Delphi C++
Display Preferences

FMX.Controls.TControl.AbsoluteToLocal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Translates coordinated of the specified Point from an global perspective to a local coordinates of this control.

The absolute context for a control is the parent form area, and the local context is the control area.

Point is the point to be transformed.

AbsoluteToLocal returns the transformed point.

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

See Also

Personal tools
In Other Languages
Previous Versions
Assistance