Copy Statement:
Copy image part
Object.Copy
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 copied.
srcImage- source image index [0..9]. The parameter selects the image
from where the part is to be copied.
dstX- destination X coordinate defines where image part will be copied
in the destination image
dstY- destination Y coordinate defines where image part will be copied
in the destination image
srcX- source X coordinate defines where from image part is to be
copied.
srcY- source Y coordinate defines where from image part is to be
copied.
width- image part width
height- image part height
|
Sample: Object.Copy
0, 1, 0, 0, 0, 0, 100,
100
This method copies 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, Resize,Merge,SetImageIndex,
LoadFile,LoadDatabase,
LoadStream,
Create, Destroy, DestroyALL
More samples:
Copy Resize Merge
Cat,
Copy, Copy,
Copy with transparent, Files,
Photo,
Merge, Merge cat,
Merge cat,
Resize, Resize photo
|
|