php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::getFontStyle

ImagickDraw::getFontStyle

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the font style

Description

ImagickDraw::getFontStyle(): int

Func

Returns the font style used when annotating with text.

Return Values

Returns a STYLE constant (imagick::STYLE_*) associated with the ImagickDraw object or 0 if no style is set.

Source: reference/imagick/imagickdraw/getfontstyle.xml · from the official PHP manual (php/doc-en)