PHP 8.1.28 Released!

Gmagick::queryfontmetrics

(PECL gmagick >= Unknown)

Gmagick::queryfontmetricsReturns an array representing the font metrics

说明

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

MagickQueryFontMetrics() returns an array representing the font metrics.

参数

此函数没有参数。

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top