Lucee object methods reference
Object Method Image.rotate
Rotates a image at a specified point by a specified angle.
Image.rotate(string x,[string y,[string angle,[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 |
|---|---|---|---|---|
| x | string | Yes | 2 | The x coordinate for the point of rotation. The default value is 2. |
| y | string | No | 2 | The y coordinate for the point of rotation. The default value is 2. |
| angle | string | No | 0 | The rotation angle in degrees. |
| interpolation | string | No | nearest |
Type of interpolation: |