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
 
<GmagickDraw::setfontstyleGmagickDraw::setstrokecolor>
^GmagickDrawLast updated: Mon, 26 Oct 2026

GmagickDraw::setfontweight

(PECL gmagick >= Unknown)

GmagickDraw::setfontweight — Sets the font weight

Description

public function GmagickDraw::setfontweight(int $weight): GmagickDraw

Sets the font weight to use when annotating with text.

Parameters

weight

Font weight (valid range 100-900)

Return Values

The GmagickDraw object.


<GmagickDraw::setfontstyleGmagickDraw::setstrokecolor>
^GmagickDrawLast updated: Mon, 26 Oct 2026