The ImagickDraw class
PHP 手册

ImagickDraw::getGravity

(PECL imagick 2.0.0)

ImagickDraw::getGravityReturns the text placement gravity

说明

int ImagickDraw::getGravity ( void )
Warning

本函数暂无文档,仅有参数列表。

Returns the text placement gravity used when annotating with text.

返回值

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


The ImagickDraw class
PHP 手册