HaruPage
PHP Manual

HaruPage::stroke

(PECL haru >= 0.0.1)

HaruPage::strokePaint current path

说明

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

Paints the current path.

参数

close_path

Closes the current path if set to TRUE.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP Manual