Set the dash pattern for the page

# HaruPage::setDash

(PECL haru >= 0.0.1)

HaruPage::setDash — Set the dash pattern for the page

### Descrierea

HaruPage::setDash ( array `$pattern` , int `$phase` ) : bool

Defines the dash pattern for the page.

### Parametri

`pattern`

  An array (8 elements max) which contains a pattern of dashes and gaps used for lines on the page.

`phase`

  The phase on which the pattern begins.

### Valorile întoarse

Returns `TRUE` on success.

### Erori/Excepții

Emite un HaruException în caz de eroare.

### A se vedea și

- HaruPage::getDash() - Get the current dash pattern