Gmagick::rotateimage

(PECL gmagick >= Unknown)

Gmagick::rotateimageRotates an image

Descrierea

public Gmagick::rotateimage ( mixed $color , float $degrees ) : Gmagick

Rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.

Parametri

color

The background pixel.

degrees

The number of degrees to rotate the image.

Valorile întoarse

The Gmagick object on success

Erori/Excepții

Emite o GmagickException în caz de eroare.