No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

The HaruPage class

(PECL haru >= 0.0.1)

Introduction

Haru PDF Page Class.

PHP: HaruPage - Manual Home of Manuel PHP  Contents Haut

Class synopsis

HaruPage {
/* Methods */
arc ( float $x , float $y , float $ray , float $ang1 , float $ang2 ) : bool
beginText ( void ) : bool
circle ( float $x , float $y , float $ray ) : bool
closePath ( void ) : bool
concat ( float $a , float $b , float $c , float $d , float $x , float $y ) : bool
createDestination ( void ) : object
createLinkAnnotation ( array $rectangle , object $destination ) : object
createTextAnnotation ( array $rectangle , string $text [, object $encoder ] ) : object
createURLAnnotation ( array $rectangle , string $url ) : object
curveTo2 ( float $x2 , float $y2 , float $x3 , float $y3 ) : bool
curveTo3 ( float $x1 , float $y1 , float $x3 , float $y3 ) : bool
curveTo ( float $x1 , float $y1 , float $x2 , float $y2 , float $x3 , float $y3 ) : bool
drawImage ( object $image , float $x , float $y , float $width , float $height ) : bool
ellipse ( float $x , float $y , float $xray , float $yray ) : bool
endPath ( void ) : bool
endText ( void ) : bool
eofill ( void ) : bool
eoFillStroke ([ bool $close_path = FALSE ] ) : bool
fill ( void ) : bool
fillStroke ([ bool $close_path = FALSE ] ) : bool
getCharSpace ( void ) : float
getCMYKFill ( void ) : array
getCMYKStroke ( void ) : array
getCurrentFont ( void ) : object
getCurrentFontSize ( void ) : float
getCurrentPos ( void ) : array
getCurrentTextPos ( void ) : array
getDash ( void ) : array
getFillingColorSpace ( void ) : int
getFlatness ( void ) : float
getGMode ( void ) : int
getGrayFill ( void ) : float
getGrayStroke ( void ) : float
getHeight ( void ) : float
getHorizontalScaling ( void ) : float
getLineCap ( void ) : int
getLineJoin ( void ) : int
getLineWidth ( void ) : float
getMiterLimit ( void ) : float
getRGBFill ( void ) : array
getRGBStroke ( void ) : array
getStrokingColorSpace ( void ) : int
getTextLeading ( void ) : float
getTextMatrix ( void ) : array
getTextRenderingMode ( void ) : int
getTextRise ( void ) : float
getTextWidth ( string $text ) : float
getTransMatrix ( void ) : array
getWidth ( void ) : float
getWordSpace ( void ) : float
lineTo ( float $x , float $y ) : bool
measureText ( string $text , float $width [, bool $wordwrap = FALSE ] ) : int
moveTextPos ( float $x , float $y [, bool $set_leading = FALSE ] ) : bool
moveTo ( float $x , float $y ) : bool
moveToNextLine ( void ) : bool
rectangle ( float $x , float $y , float $width , float $height ) : bool
setCharSpace ( float $char_space ) : bool
setCMYKFill ( float $c , float $m , float $y , float $k ) : bool
setCMYKStroke ( float $c , float $m , float $y , float $k ) : bool
setDash ( array $pattern , int $phase ) : bool
setFlatness ( float $flatness ) : bool
setFontAndSize ( object $font , float $size ) : bool
setGrayFill ( float $value ) : bool
setGrayStroke ( float $value ) : bool
setHeight ( float $height ) : bool
setHorizontalScaling ( float $scaling ) : bool
setLineCap ( int $cap ) : bool
setLineJoin ( int $join ) : bool
setLineWidth ( float $width ) : bool
setMiterLimit ( float $limit ) : bool
setRGBFill ( float $r , float $g , float $b ) : bool
setRGBStroke ( float $r , float $g , float $b ) : bool
setRotate ( int $angle ) : bool
setSize ( int $size , int $direction ) : bool
setSlideShow ( int $type , float $disp_time , float $trans_time ) : bool
setTextLeading ( float $text_leading ) : bool
setTextMatrix ( float $a , float $b , float $c , float $d , float $x , float $y ) : bool
setTextRenderingMode ( int $mode ) : bool
setTextRise ( float $rise ) : bool
setWidth ( float $width ) : bool
setWordSpace ( float $word_space ) : bool
showText ( string $text ) : bool
showTextNextLine ( string $text [, float $word_space = 0 [, float $char_space = 0 ]] ) : bool
stroke ([ bool $close_path = FALSE ] ) : bool
textOut ( float $x , float $y , string $text ) : bool
textRect ( float $left , float $top , float $right , float $bottom , string $text [, int $align = HaruPage::TALIGN_LEFT ] ) : bool
}

PHP: HaruPage - Manual Home of Manuel PHP  Contents Haut

Predefined Constants

Type Name Description
int HaruPage::GMODE_PAGE_DESCRIPTION  
int HaruPage::GMODE_TEXT_OBJECT  
int HaruPage::GMODE_PATH_OBJECT  
int HaruPage::GMODE_CLIPPING_PATH  
int HaruPage::GMODE_SHADING  
int HaruPage::GMODE_INLINE_IMAGE  
int HaruPage::GMODE_EXTERNAL_OBJECT  
int HaruPage::BUTT_END  
int HaruPage::ROUND_END  
int HaruPage::PROJECTING_SCUARE_END  
int HaruPage::MITER_JOIN  
int HaruPage::ROUND_JOIN  
int HaruPage::BEVEL_JOIN  
int HaruPage::FILL  
int HaruPage::STROKE  
int HaruPage::FILL_THEN_STROKE  
int HaruPage::INVISIBLE  
int HaruPage::FILL_CLIPPING  
int HaruPage::STROKE_CLIPPING  
int HaruPage::FILL_STROKE_CLIPPING  
int HaruPage::CLIPPING  
int HaruPage::TALIGN_LEFT  
int HaruPage::TALIGN_RIGHT  
int HaruPage::TALIGN_CENTER  
int HaruPage::TALIGN_JUSTIFY  
int HaruPage::SIZE_LETTER  
int HaruPage::SIZE_LEGAL  
int HaruPage::SIZE_A3  
int HaruPage::SIZE_A4  
int HaruPage::SIZE_A5  
int HaruPage::SIZE_B4  
int HaruPage::SIZE_B5  
int HaruPage::SIZE_EXECUTIVE  
int HaruPage::SIZE_US4x6  
int HaruPage::SIZE_US4x8  
int HaruPage::SIZE_US5x7  
int HaruPage::SIZE_COMM10  
int HaruPage::PORTRAIT  
int HaruPage::LANDSCAPE  
int HaruPage::TS_WIPE_LIGHT  
int HaruPage::TS_WIPE_UP  
int HaruPage::TS_WIPE_LEFT  
int HaruPage::TS_WIPE_DOWN  
int HaruPage::TS_BARN_DOORS_HORIZONTAL_OUT  
int HaruPage::TS_BARN_DOORS_HORIZONTAL_IN  
int HaruPage::TS_BARN_DOORS_VERTICAL_OUT  
int HaruPage::TS_BARN_DOORS_VERTICAL_IN  
int HaruPage::TS_BOX_OUT  
int HaruPage::TS_BOX_IN  
int HaruPage::TS_BLINDS_HORIZONTAL  
int HaruPage::TS_BLINDS_VERTICAL  
int HaruPage::TS_DISSOLVE  
int HaruPage::TS_GLITTER_RIGHT  
int HaruPage::TS_GLITTER_DOWN  
int HaruPage::TS_GLITTER_TOP_LEFT_TO_BOTTOM_RIGHT  
int HaruPage::TS_REPLACE  
int HaruPage::NUM_STYLE_DECIMAL  
int HaruPage::NUM_STYLE_UPPER_ROMAN  
int HaruPage::NUM_STYLE_LOWER_ROMAN  
int HaruPage::NUM_STYLE_UPPER_LETTERS  
int HaruPage::NUM_STYLE_LOWER_LETTERS  

PHP: HaruPage - Manual Home of Manuel PHP  Contents Haut

Table of Contents

Find a PHP function

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-class.harupage.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : http://php.net

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut