The Imagick class
PHP Manual

Imagick::setGravity

()

Imagick::setGravitySets the gravity

Opis

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.

Parametry

gravity

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

Zwracane wartości

nie jest zwracana żadna wartość.


The Imagick class
PHP Manual