The ImagickDraw class
PHP Manual

ImagickDraw::getTextAlignment

(PECL imagick 2.0.0)

ImagickDraw::getTextAlignmentReturns the text alignment

Description

int ImagickDraw::getTextAlignment ( void )
Warning

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

Returns the alignment applied when annotating with text.

Return Values

Returns one of the ALIGN_ constants and 0 if no align is set.


The ImagickDraw class
PHP Manual