PHP 8.1.0 RC 4 available for testing

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 add a note

User Contributed Notes

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