src/UI/Image/Processing.php
public function rotate( $angle, $bgColor = 0, $ignoreTransparent = 0 )
	{
		$bgColor	= $this->image->colorTransparent;
		$this->image->setResource( imagerotate( $this->image->getResource(), -$angle, $bgColor ) );
	}
public function rotate( $angle, $bgColor = 0, $ignoreTransparent = 0 )
	{
		$bgColor	= $this->image->colorTransparent;
		$this->image->setResource( imagerotate( $this->image->getResource(), -$angle, $bgColor ) );
	}
public function rotate ( $ angle , $ bgColor = 0 , $ ignoreTransparent = 0 ) { $ bgColor = $ this -> image -> colorTransparent ; $ this -> image -> setResource ( imagerotate ( $ this -> image -> getResource ( ) , - $ angle , $ bgColor ) ) ; }
Rotates image clockwise.
Resulting image may have different dimensions.
@access		public
@param		integer		$angle			Angle to rotate (0-360)
@param		integer		$bgColor		Background color
@param		integer		$transparency	Flag: use transparency
@return		void
Rotates image clockwise . Resulting image may have different dimensions .