RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.TAlphaFormat Enumeration

TAlphaFormat indicates how the reserved byte of each pixel is used in a 32 bit bitmap.

Pascal
TAlphaFormat = (
  afIgnored,
  afDefined,
  afPremultiplied
);
C++
enum TAlphaFormat {
  afIgnored,
  afDefined,
  afPremultiplied
};

TAlphaFormat has the following values:

Value 
Meaning 
afIgnored  
The Reserved byte in the TRGBQuad is ignored.  
afDefined  
The reserved byte in the TRGBQuad contains an alpha value.  
afPremultiplied  
The reserved byte in the TRGBQuad contains an alpha value. The red, green, and blue values have been premultiplied with the alpha value.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!