Imagick::getFont
(PECL imagick 2 >= 2.1.0, PECL imagick 3)
Imagick::getFont — Gets font
Description
public Imagick::getFont ( ) : string
Returns the objects font property. This method is available if Imagick has been compiled against ImageMagick version 6.3.7 or newer.
Return Values
Returns the string containing the font name or false
if not font is set.
See Also
- Imagick::setFont() - Sets font
- ImagickDraw::setFont() - Sets the fully-specified font to use when annotating with text
- ImagickDraw::getFont() - Returns the font
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.getfont.php