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

function ColorToRValue(AColor: TTMSFNCGraphicsColor): Integer;

Parameters

Name Description
AColor The color value to decompose.

Returns

Red channel value in the range 0–255.