HaruPage::setCMYKStroke
HaruPage::setFlatness
HaruPage
PHP Manual

# HaruPage::setDash

(PECL haru >= 0.0.1)

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

### Descripción

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

Defines the dash pattern for the page.

### Lista de parámetros

`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.

### Valores retornados

Returns `TRUE` on success.

### Errors/Exceptions

Throws a HaruException on error.

### Ver también

- HaruPage::getDash - Get the current dash pattern

HaruPage::setCMYKStroke
HaruPage::setFlatness
HaruPage
PHP Manual