在线文档教程
PHP
Image/GraphicsMagick

GmagickDraw::getfontweight

GmagickDraw::getfontweight

(PECL gmagick >= Unknown)

GmagickDraw::getfontweight — Returns the font weight

Description

public int GmagickDraw::getfontweight ( void )

Returns the font weight used when annotating with text.

Parameters

This function has no parameters.

Return Values

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

← GmagickDraw::getfontstyle

GmagickDraw::getstrokecolor →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagickdraw.getfontweight.php