JavaScript Editor Javascript debugger     Website design 

ImagickDraw::getGravity

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

Warning:

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

Warning:

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.

Parameters

Return Values

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