Method: Magick::Image#rotate
- Defined in:
- ext/RMagick/rmimage.cpp
#rotate(degrees) ⇒ Magick::Image #rotate(degrees, qualifier) ⇒ Magick::Image
Rotate the receiver by the specified angle. Positive angles rotate clockwise while negative angles rotate counter-clockwise. New pixels introduced by the rotation are the same color as the current background color. Set the background color to “none” to make the new pixels transparent black.
12347 12348 12349 12350 12351 12352 |
# File 'ext/RMagick/rmimage.cpp', line 12347
VALUE
Image_rotate(int argc, VALUE *argv, VALUE self)
{
rm_check_destroyed(self);
return rotate(False, argc, argv, self);
}
|