php8.5
Home/ Manual/ imagick / imagick/ Imagick::getGravity

Imagick::getGravity

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Gets the gravity

Description

Imagick::getGravity(): int

Gets the global gravity property for the Imagick object. 0x640

Parameters Parameters

Return Values

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

Source: reference/imagick/imagick/getgravity.xml · from the official PHP manual (php/doc-en)