HaruPage::eoFillStroke

(PECL haru >= 0.0.1) Fill current path using even-odd rule, then paint the path bool HaruPage::eoFillStroke ([ bool $close_path = false ] ) Fills current path using even-odd rule, then paints the path. Parameters: close_path Optional parameter. When set to TRUE, the function closes the current path. Default to FALSE. Returns: Returns TRUE on

HaruPage::eofill

(PECL haru >= 0.0.1) Fill current path using even-odd rule bool HaruPage::eofill ( void ) Fills current path using even-odd rule. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::endText

(PECL haru >= 0.0.1) End current text object bool HaruPage::endText ( void ) Finalizes current text object. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::endPath

(PECL haru >= 0.0.1) End current path object without filling and painting operations bool HaruPage::endPath ( void ) Ends current path object without performing filling and painting operations. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::ellipse

(PECL haru >= 0.0.1) Append an ellipse to the current path bool HaruPage::ellipse ( float $x, float $y, float $xray, float $yray ) Appends an ellipse to the current path. Parameters: x Horizontal coordinate of the center. y Vertical coordinate of the center. xray The ray of the ellipse in the x dir

HaruPage::drawImage

(PECL haru >= 0.0.1) Show image at the page bool HaruPage::drawImage ( object $image, float $x, float $y, float $width, float $height ) Show image at the page. Parameters: image Valid HaruImage instance. x The left border of the area where the image is displayed. y The lower border of the area wher

HaruPage::curveTo

(PECL haru >= 0.0.1) Append a Bezier curve to the current path bool HaruPage::curveTo ( float $x1, float $y1, float $x2, float $y2, float $x3, float $y3 ) Append a Bezier curve to the current path. The point (x1, y1) and the point (x2, y2) are used as the control points for a Bezier curve and current point is moved to the point (x3, y3). Parameters: x1 A Bezier curve c

HaruPage::curveTo3

(PECL haru >= 0.0.1) Append a Bezier curve to the current path bool HaruPage::curveTo3 ( float $x1, float $y1, float $x3, float $y3 ) Appends a Bezier curve to the current path. The point (x1, y1) and the point (x3, y3) are used as the control points for a Bezier curve and current point is moved to the point (x3, y3). Parameters: x1 A Bezier curve control point.

HaruPage::curveTo2

(PECL haru >= 0.0.1) Append a Bezier curve to the current path bool HaruPage::curveTo2 ( float $x2, float $y2, float $x3, float $y3 ) Appends a Bezier curve to the current path. The current point and the point (x2, y2) are used as the control points for the Bezier curve and current point is moved to the point (x3, y3). Parameters: x2 A Bezier curve control point.

HaruPage::createURLAnnotation

(PECL haru >= 0.0.1) Create and return new HaruAnnotation instance object HaruPage::createURLAnnotation ( array $rectangle, string $url ) Creates a new HaruAnnotation instance. Parameters: rectangle An array with 4 coordinates of the clickable area. url The URL to open. Returns: Returns a new HaruAnnotation