ImagickDraw::getGravity

(PECL imagick 2.0.0)

ImagickDraw::getGravityReturns the text placement gravity

˵��

ImagickDraw::getGravity ( void ) : int
Warning

��������δ��д�ĵ������в����б�

Returns the text placement gravity used when annotating with text.

����ֵ

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