PHP
Image/ImageMagick

ImagickDraw::getGravity

ImagickDraw::getGravity

(PECL imagick 2.0.0)

ImagickDraw::getGravity — Returns the text placement gravity

Description

int ImagickDraw::getGravity ( void )

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.

← ImagickDraw::getFontWeight

ImagickDraw::getStrokeAntialias →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagickdraw.getgravity.php