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::getFontStretchImagickDraw::getFontWeight>
^ImagickDrawLast updated: Mon, 26 Oct 2026

ImagickDraw::getFontStyle

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getFontStyle — Returns the font style

Description

public function ImagickDraw::getFontStyle(): int
Warning

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

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.


<ImagickDraw::getFontStretchImagickDraw::getFontWeight>
^ImagickDrawLast updated: Mon, 26 Oct 2026