PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

HaruPage::stroke

(PECL haru >= 0.0.1)

HaruPage::strokePaint current path

说明

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

Paints the current path.

参数

close_path

Closes the current path if set to TRUE.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。