HaruPage::circle
HaruPage::concat
HaruPage
PHP Manual

# HaruPage::closePath

(PECL haru >= 0.0.1)

HaruPage::closePath — Append a straight line from the current point to the start point of the path

### Description

bool HaruPage::closePath ( void )

Appends a straight line from the current point to the start point of the path.

### Parameters

This function has no parameters.

### Return Values

Returns `TRUE` on success.

### Errors/Exceptions

Throws a HaruException on error.

HaruPage::circle
HaruPage::concat
HaruPage
PHP Manual