Skip to main content
Table of Contents

TTMSFNCGraphics.GetColorRed Method

Extracts the red channel from a color value.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Syntax

FMX.TMSFNCGraphics.hppPascalC++
class function GetColorRed(AColor: TTMSFNCGraphicsColor): Byte; virtual;
__classmethod virtual System::Byte __fastcall GetColorRed(TTMSFNCGraphicsColor AColor);

Parameters

Name Description
AColor Color value to extract from.

Returns

The red channel intensity in the range 0–255.