haru
PHP Manual

Classe HaruPage

Introduction

Classe Haru PDF Page.

Synopsis de la classe

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

Constantes pré-définies

Type Nom 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  

Sommaire


haru
PHP Manual