Skip to main content
Table of Contents

TTMSFNCCustomPlanner.XYToPosition Method

Returns the position cache item at the specified coordinate.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

FMX.TMSFNCPlanner.hppPascalC++
function XYToPosition(AX, AY: Single): TTMSFNCPlannerCacheItem; virtual;
virtual TTMSFNCPlannerCacheItem* __fastcall XYToPosition(float AX, float AY);

Parameters

Name Description
AX Horizontal coordinate in control pixels.
AY Vertical coordinate in control pixels.

Returns

The position cache item under the coordinate, or nil when none exists.