ManaPHP\Image\AdapterInterface::rotate PHP Метод

rotate() публичный Метод

Rotate the image by a given degrees
public rotate ( integer $degrees, integer $background = 16777215, float $alpha = 1 ) : static
$degrees integer
$background integer
$alpha float
Результат static
    public function rotate($degrees, $background = 0xffffff, $alpha = 1.0);

Usage Example

Пример #1
0
 /**
  * Rotate the image by a given degrees
  *
  * @param int   $degrees
  * @param int   $background
  * @param float $alpha
  *
  * @return static
  */
 public function rotate($degrees, $background = 0xffffff, $alpha = 1.0)
 {
     $this->adapter->rotate($degrees, $background, $alpha);
     return $this;
 }