Imagick Image Library
PHP Manual

Imagick::queryFontMetrics

(No version information available, might be only in CVS)

Imagick::queryFontMetrics — Returns an array representing the font metrics

Description

array Imagick::queryFontMetrics ( ImagickDraw $properties , string $text [, bool $multiline ] )
Warning

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

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Returns a 13 element array representing the font metrics.

Parameters

properties

ImagickDraw containing font properties

text

The text

multiline

Multiline parameter. If left empty it is autodetected

Return Values

Returns an array containing the formats supported by Imagick, throws ImagickException on error.


Imagick Image Library
PHP Manual