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::getfontsizeGmagickDraw::getfontweight>
^GmagickDrawLast updated: Mon, 26 Oct 2026

GmagickDraw::getfontstyle

(PECL gmagick >= Unknown)

GmagickDraw::getfontstyle — Returns the font style

Description

public function GmagickDraw::getfontstyle(): int

Returns the font style used when annotating with text.

Parameters

This function has no parameters.

Return Values

Returns the font style constant (STYLE_) associated with the GmagickDraw object or 0 if no style is set.


<GmagickDraw::getfontsizeGmagickDraw::getfontweight>
^GmagickDrawLast updated: Mon, 26 Oct 2026