# GmagickDraw::setfont

(PECL gmagick >= Unknown)

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

### 说明

public GmagickDraw::setfont(string `$font`): GmagickDraw

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

### 参数

`font`
  font name

### 返回值

The GmagickDraw object.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open