php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::getTextAlignment

ImagickDraw::getTextAlignment

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the text alignment

Description

ImagickDraw::getTextAlignment(): int

Func

Returns the alignment applied when annotating with text.

Return Values

Returns a ALIGN constant (imagick::ALIGN_*), and 0 if no align is set.

Source: reference/imagick/imagickdraw/gettextalignment.xml · from the official PHP manual (php/doc-en)