ImageEn, unit iexDefs

TRGBA

TRGBA

Declaration

TRGBA = packed record
  B: Byte;
  G: Byte;
  R: Byte;
  A: Byte;

  function ToColor(): TColor;
end;

Description

Stores a color as 8bit Red, Green and Blue channels, plus an alpha (opacity) channel.

The following operations are supported:
if rgba = rgba then...
if rgba <> rgba then...
MyTColor := rgba.ToColor;


Note: ImageEn visualizers allow you to see a human-readable value when hovering over a color value. You can also click for a preview:

See Also

CreateRGBA
IEColorToRGBA
IERGBToRGBA
IERGBToColor
IERGBAToRGB