ImageCopy
Syntax
ImageCopy(name, x, y, width, height [, dx] [, dy])Arguments
Name
Type
Required
Default
Description
Returns
Description
Example
See Also
Notes
Was this helpful?
Was this helpful?
// Copy a 100x50 region at (10, 20) and draw it at (110, 70)
img = ImageCopy(myImage, 10, 20, 100, 50, 100, 50);
// Copy a region and draw it at the same location (no offset)
img = ImageCopy(myImage, 10, 20, 100, 50);