PHP 手册
上一页 |  | 下一页

# HaruPage::moveTextPos

(no version information, might be only in CVS)

HaruPage::moveTextPos -- Move text position to the specified offset

## 说明

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

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`). If optional parameter `set_leading` is `TRUE`, the function sets the text leading to -`y`. The default value of `set_leading` is `FALSE`.

## 返回值

Returns `TRUE` on success.

## 错误／异常

Throws HaruException on error.

## 参见

HaruPage::moveToNextLine()

上一页 | 起始页 | 下一页
HaruPage::measureText | 上一级 | HaruPage::moveTo