CakeFest 2024: The Official CakePHP Conference

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top