Table of Contents

TTMSFNCGraphics.GetColorAlpha Method

Extracts the alpha channel from a color value. FMX only.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Syntax

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

Parameters

Name Description
AColor Color value to extract from.

Returns

The alpha channel intensity in the range 0–255, where 255 is fully opaque.