RAD Studio VCL Reference
|
Draws a transparent bitmap.
procedure DrawTransparentBitmap(Source: TBitmap; Destination: TCanvas; DestRect: TRect; Opacity: Byte); overload; procedure DrawTransparentBitmap(Source: TBitmap; SourceRect: TRect; Destination: TCanvas; DestRect: TRect; Opacity: Byte); overload;
DrawTransparentBitmap(TBitmap Source, TCanvas Destination, TRect DestRect, Byte Opacity); DrawTransparentBitmap(TBitmap Source, TRect SourceRect, TCanvas Destination, TRect DestRect, Byte Opacity);
The difference between the first and second form of DrawTransparentBitmap is that the second one allows an extra parameter, the specification of the source rectangle.
Source represents the source bitmap.
SourceRect, only present in the second form, represents the source rectangle.
Destination represents the TCanvas used for drawing.
DestRect represents the destination rectangle.
Opacity represents the alpha(opacity) value.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|