Home | GR32 |
GreenComponent
function GreenComponent(Color32: TColor32): Integer;
Description
Extracts the green 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:
Green := (Color32 and $0000FF00) shr 8;
See Also
AlphaComponent, BlueComponent, RedComponent, TColor32, TColor32Entry
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007