GmagickDraw
PHP Manual

GmagickDraw::setfont

(PECL gmagick >= Unknown)

GmagickDraw::setfontSets the fully-specified font to use when annotating with text.

说明

public GmagickDraw GmagickDraw::setfont ( string $font )

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

参数

font

font name

返回值

The GmagickDraw object on success


GmagickDraw
PHP Manual