Imagick::setImageGravity
PHP function
Edit on GitHub ✎
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Sets the image gravity
Description
Imagick::setImageGravity(int $gravity): bool
Sets the gravity property for the current image. This method can be used to set the gravity property for a single image sequence. 0x644
Parameters
gravityThe gravity property. Refer to the list of gravity constants.
Return Values
Void