function AlphaComponent(Color32: TColor32): Integer;

Description

Extracts the alpha component from the parameter.

This function is provided for convenience and backward compatibility only. In performance-critical parts of your code use TColor32Entry typecasting or direct conversion:

Alpha := Color32 shr 24;

[See Also] RedComponent, GreenComponent, BlueComponent