Table of Contents

TTMSFNCCustomPlanner.XYToPosition Method

Returns the position cache item at the specified coordinate.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

function XYToPosition(AX, AY: Single): TTMSFNCPlannerCacheItem; virtual;

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.