Наша группа в телеграмм для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov

The HaruPage class

(Информация о версии неизвестна, возможно, только в SVN)

Введение

Haru PDF Page Class.


Обзор классов


HaruPage {
/* Методы */
bool 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 )
object createDestination ( void )
object createLinkAnnotation ( array $rectangle , object $destination )
object createTextAnnotation ( array $rectangle , string $text [, object $encoder ] )
object createURLAnnotation ( array $rectangle , string $url )
bool 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 ] )
float getCharSpace ( void )
array getCMYKFill ( void )
array getCMYKStroke ( void )
object getCurrentFont ( void )
float getCurrentFontSize ( void )
array getCurrentPos ( void )
array getCurrentTextPos ( void )
array getDash ( void )
int getFillingColorSpace ( void )
float getFlatness ( void )
int getGMode ( void )
float getGrayFill ( void )
float getGrayStroke ( void )
float getHeight ( void )
float getHorizontalScaling ( void )
int getLineCap ( void )
int getLineJoin ( void )
float getLineWidth ( void )
float getMiterLimit ( void )
array getRGBFill ( void )
array getRGBStroke ( void )
int getStrokingColorSpace ( void )
float getTextLeading ( void )
array getTextMatrix ( void )
int getTextRenderingMode ( void )
float getTextRise ( void )
float getTextWidth ( string $text )
array getTransMatrix ( void )
float getWidth ( void )
float getWordSpace ( void )
bool lineTo ( float $x , float $y )
int measureText ( string $text , float $width [, bool $wordwrap = false ] )
bool 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 ] )
}

Предопределенные константы

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

Содержание


Описание класса harupage, примеры использования класса harupage.



Смотрите также:
Описание на ru2.php.net
Описание на php.ru

.

Популярное:


Содержание: