Imagick::setGravity
PHP function
Edit on GitHub ✎
(PECL imagick 2 >= 2.2.0, PECL imagick 3)
Sets the gravity
Description
Imagick::setGravity(int $gravity): bool
Sets the global gravity property for the Imagick object. 0x640
Parameters
gravityThe gravity property. Refer to the list of gravity constants.
Return Values
Void