traits/image.php
final public function rotateImage(
		$angle              = 0,
		array $bgd_color    = array(0, 0, 0, 127),
		$ignore_transparent = false
	)
	{
		$this->_image_handle = imagerotate(
			$this->_image_handle,
			$angle,
			$this->_createImageColorAlpha($bgd_color),
			$ignore_transparent ? 1 : 0
		);
	}
final public function rotateImage(
		$angle              = 0,
		array $bgd_color    = array(0, 0, 0, 127),
		$ignore_transparent = false
	)
	{
		$this->_image_handle = imagerotate(
			$this->_image_handle,
			$angle,
			$this->_createImageColorAlpha($bgd_color),
			$ignore_transparent ? 1 : 0
		);
	}
final public function rotateImage ( $ angle = 0 , array $ bgd_color = array ( 0 , 0 , 0 , 127 ) , $ ignore_transparent = false ) { $ this -> _image_handle = imagerotate ( $ this -> _image_handle , $ angle , $ this -> _createImageColorAlpha ( $ bgd_color ) , $ ignore_transparent ? 1 : 0 ) ; }
Rotate an image with a given angle

@param int     $angle              Rotation angle, in degrees.
@param array   $bgd_color          RGBA array for background color
@param bool    $ignore_transparent Ignore transparent colors?
Rotate an image with a given angle