PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

ImagickDraw::getGravity

(PECL imagick 2.0.0)

ImagickDraw::getGravityReturns the text placement gravity

Description

int ImagickDraw::getGravity ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns the text placement gravity used when annotating with text.

Return Values

Returns a GRAVITY_ constant on success and 0 if no gravity is set.

PHP Manual