Php/docs/imagickdraw.getgravity

From Get docs

ImagickDraw::getGravity

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getGravityReturns the text placement gravity


Description

public ImagickDraw::getGravity ( ) : int

Warning This function is currently not documented; only its argument list is available.


Returns the text placement gravity used when annotating with text.


Return Values

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