function Color32(rgbColor: Integer): TColor32;
Converts Graphics.TColor values into TColor32 values.
The function will return 'rgbColor' as a fully opaque TColor32 ($FFRRGGBB). If rgbColor is negative, it's assumed to be a predefined Delphi TColor (eg clWhite, clRed, clNavy), otherwise it's assumed to be a COLORREF value ($00BBGGRR).
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025