Lucee Function Reference
imageshear()
Shears an image either horizontally or vertically.
Example
imageshear(any image,number shear,[string direction,[string interpolation]]):void
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 |
|---|---|---|---|---|
| image | any | Yes | The image on which this operation is performed. | |
| shear | number | Yes | Shear value. Coordinates can be integers or real numbers. | |
| direction | string | No | horizontal |
Shear direction: |
| interpolation | string | No | nearest |
Type of interpolation: |