Skip to main content
Table of Contents

TTMSFNCGraphics.GetColorAlpha Method

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

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphics

Syntax

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

Parameters

Name Description
AColor Color value to extract from.

Returns

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