Lucee object methods reference
Object Method Image.paste
Composites one image onto another at specified coordinates. The second image is overlaid on top of the first image, preserving transparency and using high-quality interpolation.
Image.paste(any image2,[number x,[number y]]):void
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 to paste onto the base image. Its transparency (alpha channel) is preserved during compositing. |
| x | number | No | The x coordinate where image2 will be placed on image1. If negative, image2 will be partially clipped. |
| y | number | No | The y coordinate where image2 will be placed on image1. If negative, image2 will be partially clipped. |