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

ImagickDraw::getFontWeight

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the font weight

Description

ImagickDraw::getFontWeight(): int

Func

Returns the font weight used when annotating with text.

Return Values

Returns an Integer on success and 0 if no weight is set.

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