Skip to main content
Table of Contents

TTMSFNCColorWheel.ColorToRValue Method

Extracts the red channel byte from the given color value.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCColorWheel Inherited from: TTMSFNCCustomColorWheel

Syntax

FMX.TMSFNCColorWheel.hppPascalC++
function ColorToRValue(AColor: TTMSFNCGraphicsColor): Integer;
int __fastcall ColorToRValue(Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor AColor);

Parameters

Name Description
AColor The color value to decompose.

Returns

Red channel value in the range 0–255.