= Unknown)Gmagick::rotateimage — Rotates an image說明public Gmagick::rotateimage(mixed $color, float $degrees): Gmagi">

Gmagick::rotateimage

(PECL gmagick >= Unknown)

Gmagick::rotateimageRotates an image

說明

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.

參數(shù)

color

The background pixel.

degrees

The number of degrees to rotate the image.

返回值

The Gmagick object on success

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。