Forum und email

ImagickDraw::getGravity

(No version information available, might be only in CVS)

ImagickDraw::getGravity — Returns the text placement gravity

Description

int ImagickDraw::getGravity ( void )
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.