Hi guys,
I have a TImage on a form which displays images at specified intervals. I am trying to get a transparent reflection working like in this image: http://users.tpg.com.au/jakeadam//prototype1.jpg
What I am doing is getting the image in the first TImage, assigning it to a bitmap, rotating it, then assigning it to the second TImage.
I am having trouble getting the transparency in the reflection. Anyone got an ideas on how to do this?
Thanks,
Adam
I have a TImage on a form which displays images at specified intervals. I am trying to get a transparent reflection working like in this image: http://users.tpg.com.au/jakeadam//prototype1.jpg
What I am doing is getting the image in the first TImage, assigning it to a bitmap, rotating it, then assigning it to the second TImage.
Code:
var
Bitmap : TBitmap;
begin
Bitmap := TBitmap.Create;
Bitmap.Assign(imageTop.Picture.Graphic);
RotateImg(Bitmap);
ImageBottom.Picture.Assign(Bitmap);
Bitmap.Free;
I am having trouble getting the transparency in the reflection. Anyone got an ideas on how to do this?
Thanks,
Adam