HaruPage::setTextMatrix()
(PECL haru >= 0.0.1)
Set 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异常。
参见
- HaruPage::getTextMatrix() Get the current text transformation matrix of the page
