TTMSFNCAnalogTimeSelector.XYToMinute Method
Returns the minute (0–59) corresponding to the given pixel coordinates on the clock face.
API unit family: TMSFNCAnalogTimeSelector
Declaring type: TTMSFNCAnalogTimeSelector
Inherited from: TTMSFNCCustomAnalogTimeSelector
Syntax
function XYToMinute(X: Single; Y: Single): Integer;
Parameters
| Name | Description |
|---|---|
X |
Horizontal pixel coordinate relative to the control. |
Y |
Vertical pixel coordinate relative to the control. |
Returns
Minute value (0–59) under the given coordinates.