Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Dynamically drawing a transparent bitmap
1 comments. Current rating: (1 votes). Leave comments and/ or rate it.
1) use TBitmap do draw on the canvas, this makes it really easy
2) set it to transparent
3) define the transparent color (if you forget this, the color of the pixel in the bottom left corner will be used):
 | |  | | var
myBitmap : TBitmap;
begin
myBitmap.Transparent := true;
myBitmap.TransparentColor := clBlack;
end; | |  | |  |
Comments:
|
anonymouz from Bulgaria
|
 |
|
|
|
|