ImagickDraw::getGravity

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getGravityReturns the text placement gravity

说明

public ImagickDraw::getGravity(): int
警告

本函数还未编写文档,仅有参数列表。

Returns the text placement gravity used when annotating with text.

返回值

Returns a GRAVITY constant (imagick::GRAVITY_*) on success and 0 if no gravity is set.