HaruPage::setTextMatrix
(PECL haru >= 0.0.1)
HaruPage::setTextMatrix — Set the current text transformation matrix of the page
说明
HaruPage::setTextMatrix
( float
$a
, float $b
, float $c
, float $d
, float $x
, float $y
) : boolDefines 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 异常。