Table of Contents

TTMSFNCGraphics.GetColorRed Method

Extracts the red channel from a color value.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Syntax

class function GetColorRed(AColor: TTMSFNCGraphicsColor): Byte; virtual;

Parameters

Name Description
AColor Color value to extract from.

Returns

The red channel intensity in the range 0–255.