|
BlendImage Statement:
Blend two images with alpha channel
| Object.BlendImage
dstImage, srcImage, dstX, dstY, srcX,
srcY, width, height
|
Parametrs:
dstImage- destination image index [0..9]. The parameter selects the
image where a part of the source image will be blended.
srcImage- source image index [0..9]. The parameter selects the image
from where the part is to be blended.
dstX- destination X coordinate defines where image part will be
blended in the destination image
dstY - destination Y coordinate defines where image part will
be blended in the destination image
srcX- source X coordinate defines where from image part is to be
blended.
srcY- source Y coordinate defines where from image part is to be
blended.
width- image part width
height- image part height
|
Sample: Object.BlendImage
0, 1, 0, 0, 0, 0, 100,
100
This method blends a part of source image into destination image. Source
and destination images should exist. You can create image using the following
methods: Create, LoadFile, LoadDatabase, LoadStream.
See also
Copy,
BlendImage, Resize,Merge,SetImageIndex,
LoadFile,LoadDatabase,
LoadStream,
Create, Destroy, DestroyALL
More samples:
Copy Resize Merge
BlendImage,
Cat, Copy,
Copy, Copy
with transparent, Files,
Photo,
Merge, Merge cat,
Merge cat,
Resize, Resize photo
|
|