Vcl.Graphics.TBitmap.DrawTransparent
Delphi
procedure DrawTransparent(ACanvas: TCanvas; const Rect: TRect; Opacity: Byte); override;
C++
virtual void __fastcall DrawTransparent(TCanvas* ACanvas, const System::Types::TRect &Rect, System::Byte Opacity);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Render graphic onto canvas at rectangle, blending with canvas's background. {{#multireplace:Vcl.Graphics.TBitmap.DrawTransparent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Graphics.TGraphic.DrawTransparent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Graphics.TGraphic.DrawTransparent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Render graphic onto canvas at rectangle, blending with canvas's background.
DrawTransparent renders the graphic onto a canvas at the coordinates specified by the Rect parameter, blending it with the canvas's background.