array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagickdraw.getfont.php', 1 => 'GmagickDraw::getfont', 2 => 'Returns the font', ), 'up' => array ( 0 => 'class.gmagickdraw.php', 1 => 'GmagickDraw', ), 'prev' => array ( 0 => 'gmagickdraw.getfillopacity.php', 1 => 'GmagickDraw::getfillopacity', ), 'next' => array ( 0 => 'gmagickdraw.getfontsize.php', 1 => 'GmagickDraw::getfontsize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagickdraw/getfont.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

GmagickDraw::getfont

(PECL gmagick >= Unknown)

GmagickDraw::getfontReturns the font

说明

public GmagickDraw::getfont(): mixed

Returns a string specifying the font used when annotating with text.

参数

此函数没有参数。

返回值

Returns a string on success and false if no font is set.