The Imagick class
PHP Manual

Imagick::setGravity

()

Imagick::setGravitySets the gravity

Описание

bool Imagick::setGravity ( int $gravity )

Sets the global gravity property for the Imagick object. This method is available if Imagick has been compiled against ImageMagick version 6.4.0 or newer.

Параметри

gravity

The gravity property. Refer to the list of gravity constants.

Връщани стойности

Няма връщана стойност.


The Imagick class
PHP Manual