HaruPage::setLineJoin

(PECL haru >= 0.0.1) Set line join style for the page bool HaruPage::setLineJoin ( int $join ) Defines line join style for the page. Parameters: join Must be one of the following values: HaruPage::MITER_JOIN HaruPage::ROUND_JOIN HaruPage::BEVEL_JOIN Returns: Returns TRUE on success. Exception: Throws a HaruException on er

HaruPage::setLineCap

(PECL haru >= 0.0.1) Set the shape to be used at the ends of lines bool HaruPage::setLineCap ( int $cap ) Defines the shape to be used at the ends of lines. Parameters: cap Must be one of the following values: HaruPage::BUTT_END - the line is squared off at the endpoint of the path. HaruPage::ROUND_END - the end of the line becomes a semicircle with center in the e

HaruPage::setHorizontalScaling

(PECL haru >= 0.0.1) Set horizontal scaling for the page bool HaruPage::setHorizontalScaling ( float $scaling ) Set the horizontal scaling for the page. Parameters: scaling The horizontal scaling for text showing on the page. The initial value is 100. Returns: Returns TRUE on success. Exception: Throws a HaruEx

HaruPage::setHeight

(PECL haru >= 0.0.1) Set height of the page bool HaruPage::setHeight ( float $height ) Defines height of the page. Parameters: height The defined height for the page. Returns: Returns TRUE on success. Exception: Throws a HaruException on error. See also:

HaruPage::setGrayStroke

(PECL haru >= 0.0.1) Sets stroking color for the page bool HaruPage::setGrayStroke ( float $value ) Defines stroking color for the page. Parameters: value The value of gray level between 0 and 1. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::setGrayFill

(PECL haru >= 0.0.1) Set filling color for the page bool HaruPage::setGrayFill ( float $value ) Defines filling color for the page. Parameters: value The value of gray level between 0 and 1. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::setFontAndSize

(PECL haru >= 0.0.1) Set font and fontsize for the page bool HaruPage::setFontAndSize ( object $font, float $size ) Defines current font and its size for the page. Parameters: font A valid HaruFont instance. size The size of the font. Returns: Returns TRUE on success. Exception:

HaruPage::setFlatness

(PECL haru >= 0.0.1) Set flatness for the page bool HaruPage::setFlatness ( float $flatness ) Defines flatness for the page. Parameters: flatness The defined flatness for the page. Returns: Returns TRUE on success. Exception: Throws a HaruException on error. See

HaruPage::setDash

(PECL haru >= 0.0.1) Set the dash pattern for the page bool HaruPage::setDash ( array $pattern, int $phase ) Defines the dash pattern for the page. Parameters: pattern An array (8 elements max) which contains a pattern of dashes and gaps used for lines on the page. phase The phase on which the pattern begins. Retu

HaruPage::setCMYKStroke

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