PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

HaruPage::setTextMatrix

(PECL haru >= 0.0.1)

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

说明

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

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 异常。

参见