Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ImagickDraw::getFontStyleImagickDraw::getGravity>
^ImagickDrawLast updated: Mon, 26 Oct 2026

ImagickDraw::getFontWeight

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getFontWeight — Returns the font weight

Description

public function ImagickDraw::getFontWeight(): int
Warning

This function is currently not documented; only its argument list is available.

Returns the font weight used when annotating with text.

Return Values

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


<ImagickDraw::getFontStyleImagickDraw::getGravity>
^ImagickDrawLast updated: Mon, 26 Oct 2026