Gmagick::queryfontmetrics

From Get docs
Php/docs/latest/gmagick.queryfontmetrics


Gmagick::queryfontmetrics

(PECL gmagick >= Unknown)

Gmagick::queryfontmetricsReturns an array representing the font metrics


Description

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

MagickQueryFontMetrics() returns an array representing the font metrics.


Parameters

This function has no parameters.


Return Values

The Gmagick object on success


Errors/Exceptions

Throws an GmagickException on error.


© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.queryfontmetrics.php