GmagickDraw::getfontweight

(PECL gmagick >= Unknown)

GmagickDraw::getfontweightReturns the font weight

说明

public GmagickDraw::getfontweight(): int

Returns the font weight used when annotating with text.

参数

此函数没有参数。

返回值

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