GreenComponent

function GreenComponent(Color32: TColor32): Integer;

Description

Extracts the green component from the parameter.

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

Green := (Color32 and $0000FF00) shr 8;

See Also

AlphaComponent, BlueComponent, RedComponent, TColor32