php8.5
Home/ Manual/ gmagick / gmagickdraw/ GmagickDraw::setfontstyle

GmagickDraw::setfontstyle

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the font style to use when annotating with text

Description

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.

Parameters

style

Font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)

Return Values

The GmagickDraw object.

Source: reference/gmagick/gmagickdraw/setfontstyle.xml · from the official PHP manual (php/doc-en)