HaruPage::moveTextPos

(PECL haru >= 0.0.1)

HaruPage::moveTextPosMove text position to the specified offset

Descrição

HaruPage::moveTextPos ( float $x , float $y [, bool $set_leading = FALSE ] ) : bool

Moves text position to the specified offset. If the start position of the current line is (x1, y1), the start of the next line is (x1 + x, y1 + y).

Parâmetros

x

The specified text position offset.

y

The specified text position offset.

set_leading

If set to TRUE, the function sets the text leading to -y.

Valor Retornado

Returns TRUE on success.

Erros

Lança uma HaruException em erros.

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top