Grafika\EditorInterface::rotate PHP Méthode

rotate() public méthode

Rotate an image counter-clockwise.
public rotate ( grafika\ImageInterface &$image, integer $angle, Color | null $color = null ) : grafika\EditorInterface
$image grafika\ImageInterface Instance of Image.
$angle integer The angle in degrees.
$color Color | null The Color object containing the background color.
Résultat grafika\EditorInterface An instance of Editor.
    public function rotate(&$image, $angle, $color = null);