HaruPage
PHP Manual

HaruPage::fillStroke

(PECL haru >= 0.0.1)

HaruPage::fillStrokeFill current path using nonzero winding number rule, then paint the path

说明

bool HaruPage::fillStroke ([ bool $close_path = false ] )

Fills current path using nonzero winding number rule, then paints the path.

参数

close_path

Optional parameter. When set to TRUE, the function closes the current path. Default to FALSE.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP Manual