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.