Lucee object methods reference

Object Method Image.copy

Copies a rectangular area of an image.
Image.copy(number x,number y,number width,number height,[number dx,[number dy]]):any

Category

image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
x number  Yes   The x coordinate of the source rectangle.
y number  Yes   The y coordinate of the source rectangle.
width number  Yes   The width of the source rectangle.
height number  Yes   The height of the source rectangle.
dx number  No -999 The x coordinate of the destination rectangle.
dy number  No -999 The y coordinate of the destination rectangle.