|
|
|
|
|
dAlphaBlend (Function) In french: dFusionne Blends two images together. This allows you to create fade-in effects between 2 images. This function handles:
MonImagePromo is Image = "ImagePromo.png"
dAlphaBlend(IMG_PRODUIT, MonImagePromo, 80)
Syntax
dAlphaBlend(<Destination image> , <Source image> [, <Opacity>])
<Destination image>: Image control or Image, WDPic or picLayer variable Image in which the merge must be performed. This image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
the name of a variable of type WDPic. Only the background layer will be handled. the name of a variable of type picLayer. For the blend, this image will be considered as the background image. <Source image>: Image control or Image, WDPic or picLayer variable Image to merge. This image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
the name of a variable of type WDPic. Only the background layer will be handled. the name of a variable of type picLayer.
<Opacity>: Optional real Percentage of opacity that must be applied to <Source image> before performing the blend (100% by default, no opacity is applied). Remarks - The size of the destination image corresponds to the reference size.
- dAlphaBlend blends the images and keeps the alpha channel of the destination image. Therefore, the alpha channel of the source image is not used.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|