RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphic.SupportsPartialTransparency Property

Indicate whether graphic supports partial transparency or an alpha channel.

Pascal
property SupportsPartialTransparency: Boolean;
C++
__property Boolean SupportsPartialTransparency;

SupportsPartialTransparency indicates whether the graphic supports partial transparency or an alpha channel. 

Some TGraphic descendants, such as TBitmap and TPngImage, can support partial transparency or an alpha channel. When a graphic that supports partial transparency is drawn on a canvas using DrawTransparent, it should be blended with the pixels on the canvas based on the value of the alpha channel. 

 

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