HaruPage::getDash

(PECL haru >= 0.0.1) Get the current dash pattern array HaruPage::getDash ( void ) Get the current dash pattern. See HaruPage::setDash() for more information on dash patterns. Returns: Returns the current dash pattern as an array of two elements - "pattern" and "phase" or FALSE if dash pattern was not set. Exception: Throws a HaruException on error.

HaruPage::getCurrentTextPos

(PECL haru >= 0.0.1) Get the current position for text printing array HaruPage::getCurrentTextPos ( void ) Get the current position for text printing. Returns: Returns the current position for text printing as an array with 2 elements - "x" and "y". Exception: Throws a HaruException on error.

HaruPage::getCurrentPos

(PECL haru >= 0.0.1) Get the current position for path painting array HaruPage::getCurrentPos ( void ) Get the current position for path painting. Returns: Returns the current position for path painting as an array of with two elements - "x" and "y". Exception: Throws a HaruException on error.

HaruPage::getCurrentFontSize

(PECL haru >= 0.0.1) Get the current font size float HaruPage::getCurrentFontSize ( void ) Get the current font size. Returns: Returns the current font size. Exception: Throws a HaruException on error.

HaruPage::getCurrentFont

(PECL haru >= 0.0.1) Get the currently used font object HaruPage::getCurrentFont ( void ) Get the currently used font. Returns: Returns the currently used font as an instance of HaruFont. Exception: Throws a HaruException on error.

HaruPage::getCMYKStroke

(PECL haru >= 0.0.1) Get the current stroking color array HaruPage::getCMYKStroke ( void ) Get the current stroking color. Returns: Returns the current stroking color as an array with 4 elements ("c", "m", "y" and "k"). Exception: Throws a HaruException on error.

HaruPage::getCMYKFill

(PECL haru >= 0.0.1) Get the current filling color array HaruPage::getCMYKFill ( void ) Returns the current filling color. Returns: Returns the current filling color as an array with 4 elements ("c", "m", "y" and "k"). Exception: Throws a HaruException on error.

HaruPage::getCharSpace

(PECL haru >= 0.0.1) Get the current value of character spacing float HaruPage::getCharSpace ( void ) Get the current value of character spacing. Returns: Returns the current value of character spacing. Exception: Throws a HaruException on error.

HaruPage::fillStroke

(PECL haru >= 0.0.1) Fill current path using nonzero winding number rule, then paint the path bool HaruPage::fillStroke ([ bool $close_path = false ] ) Fills current path using nonzero winding number rule, then paints the path. Parameters: close_path Optional parameter. When set to TRUE, the function closes the current path. Default to FALSE. Retur

HaruPage::fill

(PECL haru >= 0.0.1) Fill current path using nonzero winding number rule bool HaruPage::fill ( void ) Fills current path using nonzero winding number rule. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.