ImagickDraw::getGravity
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Returns the text placement gravity
Description
ImagickDraw::getGravity(): int
Func
Returns the text placement gravity used when annotating with text.
Return Values
Returns a GRAVITY constant (imagick::GRAVITY_*) on success and 0 if no gravity is set.