Returns the font style

# GmagickDraw::getfontstyle

(PECL gmagick >= Unknown)

GmagickDraw::getfontstyle — Returns the font style

### 说明

public function GmagickDraw::getfontstyle(): int

Returns the font style used when annotating with text.

### 参数

此函数没有参数。

### 返回值

Returns the font style constant (STYLE_) associated with the GmagickDraw object or `0` if no style is set.

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