Vcl.Graphics.TGraphic.SupportsPartialTransparency

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SupportsPartialTransparency: Boolean read GetSupportsPartialTransparency;

C++

__property bool SupportsPartialTransparency = {read=GetSupportsPartialTransparency, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Indicate whether graphic supports partial transparency or an alpha channel.

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.

See Also

Code Examples