Php/docs/imagickdraw.getgravity

来自菜鸟教程
跳转至:导航、​搜索

ImagickDraw::getGravity

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getGravityReturns the text placement gravity


说明

public ImagickDraw::getGravity ( ) : 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.