JavaScript Editor Javascript debugger     Website design 


Returns the text placement gravity ()
int ImagickDraw::getGravity ( )


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


This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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.