文字

HaruPage::setTextMatrix

(PECL haru >= 0.0.1)

HaruPage::setTextMatrixSet the current text transformation matrix of the page

说明

bool HaruPage::setTextMatrix ( float $a , float $b , float $c , float $d , float $x , float $y )

Defines the text transformation matrix of the page.

参数

a

Width multiplier.

b

Vertical skew in radians.

c

Horizontal skew in radians.

d

Height multiplier.

x

Horizontal position for text.

y

Vertical position for text.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

参见

  • HaruPage::getTextMatrix() - Get the current text transformation matrix of the page
上一篇: 下一篇: