Home > PHP > Function > > ImagickDraw::getFontStyle()

ImagickDraw::getFontStyle()

ImagickDraw::getFontStyle - Returns the font style

Syntax

int ImagickDraw::getFontStyle ()

Arguments

-

Description

Returns the font style used when annotating with text.

Version

PHP PECL imagick 2.0.0

Return value

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