Php/docs/gmagickdraw.setfontstyle

来自菜鸟教程
跳转至:导航、​搜索

GmagickDraw::setfontstyle

(PECL gmagick >= Unknown)

GmagickDraw::setfontstyleSets the font style to use when annotating with text


说明

public GmagickDraw::setfontstyle ( int $style ) : GmagickDraw

Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.


参数

style
Font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)


返回值

The GmagickDraw object on success