Table of Contents

TTMSFNCCustomColorWheel.ColorToRValue Method

Extracts the red channel byte from the given color value.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCCustomColorWheel

Syntax

function ColorToRValue(AColor: TTMSFNCGraphicsColor): Integer;

Parameters

Name Description
AColor The color value to decompose.

Returns

Red channel value in the range 0–255.