Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimageChecks if the object has a previous image

說(shuō)明

public Gmagick::haspreviousimage(): mixed

Returns true if the object has more images when traversing the list in the reverse direction.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns true if the object has more images when traversing the list in the reverse direction, returns false if there are none.

錯(cuò)誤/異常

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