HaruPage::setCMYKFill

(PECL haru >= 0.0.1) Set filling color for the page bool HaruPage::setCMYKFill ( float $c, float $m, float $y, float $k ) Defines filling color for the page. Parameters: c Defines filling color for the page. m Defines filling color for the page. y Defines filling color for the page.

HaruPage::setCharSpace

(PECL haru >= 0.0.1) Set character spacing for the page bool HaruPage::setCharSpace ( float $char_space ) Defines character spacing for the page. Parameters: char_space The new character spacing for the page. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::rectangle

(PECL haru >= 0.0.1) Append a rectangle to the current path bool HaruPage::rectangle ( float $x, float $y, float $width, float $height ) Appends a rectangle to the current drawing path. Parameters: x The left border of the rectangle. y The lower border of the rectangle. width The width of the recta

HaruPage::moveToNextLine

(PECL haru >= 0.0.1) Move text position to the start of the next line bool HaruPage::moveToNextLine ( void ) Moves text position to the start of the next line. Returns: Returns TRUE on success. Exception: Throws a HaruException on error. See also: HaruPage::moveTextPos() -

HaruPage::moveTo

(PECL haru >= 0.0.1) Set starting point for new drawing path bool HaruPage::moveTo ( float $x, float $y ) Defines starting point for new drawing path. Parameters: x A new starting point coordinate. y A new starting point coordinate. Returns: Returns TRUE on success. Exception:

HaruPage::moveTextPos

(PECL haru >= 0.0.1) Move text position to the specified offset bool HaruPage::moveTextPos ( float $x, float $y [, bool $set_leading = false ] ) Moves text position to the specified offset. If the start position of the current line is (x1, y1), the start of the next line is (x1 + x, y1 + y). Parameters: x The specified text position offset. y

HaruPage::measureText

(PECL haru >= 0.0.1) Calculate the byte length of characters which can be included on one line of the specified width int HaruPage::measureText ( string $text, float $width [, bool $wordwrap = false ] ) Get the byte length of characters which can be included on one line of the specified width. Parameters: text The text to measure. width

HaruPage::lineTo

(PECL haru >= 0.0.1) Draw a line from the current point to the specified point bool HaruPage::lineTo ( float $x, float $y ) Draws a line from the current point to the specified point. Parameters: x Draws a line from the current point to the specified point. y Draws a line from the current point to the specified point.

HaruPage::getWordSpace

(PECL haru >= 0.0.1) Get the current value of word spacing float HaruPage::getWordSpace ( void ) Get the current value of word spacing. Returns: Returns the current value of word spacing. Exception: Throws a HaruException on error. See also: HaruPage::setWordSpace() -

HaruPage::getWidth

(PECL haru >= 0.0.1) Get the width of the page float HaruPage::getWidth ( void ) Get the width of the page. Returns: Returns the width of the page. Exception: Throws a HaruException on error. See also: HaruPage::setWidth() -