Home > PHP > Function > > HaruPage::setTextMatrix()

HaruPage::setTextMatrix()

HaruPage::setTextMatrix - Set the current text transformation matrix of the page

Syntax

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

Arguments

  • 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.

Description

Defines the text transformation matrix of the page.

Version

PHP PECL haru >= 0.0.1

Return value

Returns TRUE on success.