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

ImagickDraw::getFontWeight()

ImagickDraw::getFontWeight - Returns the font weight

Syntax

int ImagickDraw::getFontWeight ()

Arguments

-

Description

Returns the font weight used when annotating with text.

Version

PHP PECL imagick 2.0.0

Return value

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