GoLang ImagickDraw::getGravity

request it (74)
GoLang replacement for PHP's ImagickDraw::getGravity [edit | history]

Do you know a GoLang replacement for PHP's ImagickDraw::getGravity? Write it!

PHP ImagickDraw::getGravity

PHP original manual for ImagickDraw::getGravity [ show | php.net ]


(PECL imagick 2.0.0)

ImagickDraw::getGravityReturns the text placement gravity


int ImagickDraw::getGravity ( void )

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.