Home
|
GR32
|
|
function RedComponent(Color32: TColor32): Integer;
Extracts the red 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:
Red := (Color32 and $00FF0000) shr 16;
AlphaComponent, BlueComponent, GreenComponent, TColor32, TColor32Entry
Copyright ©2000-2010 Alex Denisov and the Graphics32 Team - Graphics32 v1.9.0 (r1336) - Build on 9-March-2010