在线文档教程
PHP
Image/ImageMagick

Imagick::getFont

Imagick::getFont

(PECL imagick 2.1.0)

Imagick::getFont — Gets font

Description

string Imagick::getFont ( void )

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

← Imagick::getFilename

Imagick::getFormat →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.getfont.php