AlphaComponent

function AlphaComponent(Color32: TColor32): Integer;

Description

Extracts the alpha component from the parameter.

This function is provided for convenience only. Use direct conversion in performance-critical parts of your code, for example:

Alpha := Color32 shr 24;

See Also

BlueComponent, GreenComponent, RedComponent, TColor32