Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ImagickDraw::getStrokeWidthImagickDraw::getTextAntialias>
^ImagickDrawLast updated: Mon, 26 Oct 2026

ImagickDraw::getTextAlignment

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getTextAlignment — Returns the text alignment

Description

public function 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 a ALIGN constant (imagick::ALIGN_*), and 0 if no align is set.


<ImagickDraw::getStrokeWidthImagickDraw::getTextAntialias>
^ImagickDrawLast updated: Mon, 26 Oct 2026