W3cubDocs

/PHP

GmagickDraw::getfontweight

(PECL gmagick >= Unknown)

GmagickDraw::getfontweightReturns the font weight

Description

public GmagickDraw::getfontweight ( ) : int

Returns the font weight used when annotating with text.

Parameters

This function has no parameters.

Return Values

Returns an int on success and 0 if no weight is set.

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