Skip to main content
Table of Contents

TTMSFNCCustomColorWheel.ColorToGValue Method

Extracts the green channel byte from the given color value.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCCustomColorWheel

Syntax

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

Parameters

Name Description
AColor The color value to decompose.

Returns

Green channel value in the range 0–255.