在线文档教程
PHP
Image/GraphicsMagick

GmagickDraw::setfont

GmagickDraw::setfont

(PECL gmagick >= Unknown)

GmagickDraw::setfont — Sets the fully-specified font to use when annotating with text.

Description

public GmagickDraw GmagickDraw::setfont ( string $font )

Sets the fully-specified font to use when annotating with text

Parameters

font

font name

Return Values

The GmagickDraw object on success

← GmagickDraw::setfillopacity

GmagickDraw::setfontsize →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/gmagickdraw.setfont.php