JImage::rotate
Method to rotate the current image.
Signature
public function rotate(mixed
$angle,
[integer
$background = 1,
[boolean
$createNew = true]] )
Parameters
-
$angle
- The angle of rotation for the image
-
$background
- The background color to use when areas are added due to rotation
-
$createNew
- If true the current image will be cloned, rotated and returned; else
Returns
- JImage