Logo Search packages:      
Sourcecode: jmagick version File versions  Download package

native MagickImage magick::MagickImage::rotateImage ( double  degrees  )  throws MagickException

Creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the color defined by the pixel at location (0,0).

Parameters:
angle of rotation.
Returns:
A image that is a rotation of self
Exceptions:
MagickException on error


Generated by  Doxygen 1.6.0   Back to index