php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::queryfontmetrics

Gmagick::queryfontmetrics

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Returns an array representing the font metrics

Description

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

MagickQueryFontMetrics() returns an array representing the font metrics.

Parameters Parameters

Return Values

The Gmagick object on success

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/queryfontmetrics.xml · from the official PHP manual (php/doc-en)