예제 #1
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $result = imagerotate($canvas->getHandler(), $this->getDegree(), $this->getBackgroundColor()->getValue(), 0);
     $canvas->setHandler($result);
 }