GmagickDraw::getfontstyle

(PECL gmagick >= Unknown)

GmagickDraw::getfontstyleReturns the font style

Description

public 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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagickdraw.getfontstyle.php