Lucee object methods reference

Object Method Image.paste

Takes two images and an (x,y) coordinate and draws the second image over the first image with the upper-left corner at coordinate (x,y).
Image.paste(any image2,[number x,[number y]]):image

Category

image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
image2 any  Yes The image that is pasted on top of image1.
x number  No The x coordinate where the upper-left corner of image2 is pasted.
y number  No The y coordinate where the upper-left corner of image2 is pasted.