W3cubDocs

/PHP

ImagickDraw::getTextAlignment

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getTextAlignmentReturns the text alignment

Description

public ImagickDraw::getTextAlignment ( ) : int
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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagickdraw.gettextalignment.php