array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gmagick.queryfontmetrics.php', 1 => 'Gmagick::queryfontmetrics', 2 => 'Returns an array representing the font metrics', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.quantizeimages.php', 1 => 'Gmagick::quantizeimages', ), 'next' => array ( 0 => 'gmagick.queryfonts.php', 1 => 'Gmagick::queryfonts', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/queryfontmetrics.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Gmagick::queryfontmetrics

(PECL gmagick >= Unknown)

Gmagick::queryfontmetricsReturns an array representing the font metrics

Beschreibung

public Gmagick::queryfontmetrics(GmagickDraw $draw, string $text): array

MagickQueryFontMetrics() returns an array representing the font metrics.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The Gmagick object on success

Fehler/Exceptions

Wirft bei einem Fehler eine GmagickException.