PHP 8.1.31 Released!

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

add a note

User Contributed Notes 1 note

up
1
moguchicorp at gmail dot com
13 years ago
check ImagickDraw::SetTextAlignment notes for examples and constants values

http://php.net/manual/en/function.imagickdraw-settextalignment.php
To Top