Skip to main content
Table of Contents

TTMSFNCImageColor.XYToColor Method

Returns the color at the given wheel-image coordinates.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCImageColor

Syntax

FMX.TMSFNCColorWheel.hppPascalC++
function XYToColor(X, Y: Single): TTMSFNCGraphicsColor;
Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor __fastcall XYToColor(float X, float Y);

Parameters

Name Description
X Horizontal position within the image.
Y Vertical position within the image.

Returns

The color value at the specified coordinates.