linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awText

Source Location: /class/system/artichow/php4/inc/Text.class.php

Class Overview


To handle text


Variables

Methods



Class Details

[line 18]
To handle text



[ Top ]


Class Variables

$angle =

[line 40]

Text angle Can be 0 or 90


Type:   int


[ Top ]

$background =

[line 54]

Text background



Tags:

var:  Gradient

Type:   Color,


[ Top ]

$border =

[line 68]

Text border


Type:   Border


[ Top ]

$color =

[line 47]

Text color


Type:   Color


[ Top ]

$font =

[line 32]

Text font


Type:   Font


[ Top ]

$padding =

[line 61]

Padding



Tags:

var:  Array for left, right, top and bottom paddings

Type:   array


[ Top ]

$text =

[line 25]

Your text


Type:   string


[ Top ]



Class Methods


constructor awText [line 75]

awText awText( string $text, [ $font = NULL], [ $color = NULL], [ $angle = 0])

Build a new awtext



Parameters:

string   $text   Your text
   $font  
   $color  
   $angle  

[ Top ]

method getAngle [line 148]

int getAngle( )

Get text angle



[ Top ]

method getBackground [line 206]

Color, getBackground( )

Get text background



Tags:

return:  Gradient


[ Top ]

method getColor [line 166]

Color getColor( )

Get text color



[ Top ]

method getFont [line 130]

int getFont( )

Get text font



[ Top ]

method getPadding [line 227]

array getPadding( )

Get current padding



[ Top ]

method getText [line 102]

string getText( )

Get text



[ Top ]

method setAngle [line 139]

void setAngle( int $angle)

Change text angle



Parameters:

int   $angle  

[ Top ]

method setBackground [line 175]

void setBackground( mixed $background)

Change text background



Parameters:

mixed   $background  

[ Top ]

method setBackgroundColor [line 188]

void setBackgroundColor( $color $color)

Change text background color



Parameters:

$color   $color  

[ Top ]

method setBackgroundGradient [line 197]

void setBackgroundGradient( $gradient $gradient)

Change text background gradient



Parameters:

$gradient   $gradient  

[ Top ]

method setColor [line 157]

void setColor( Color $color)

Change text color



Parameters:

Color   $color  

[ Top ]

method setFont [line 121]

void setFont( Font &$font)

Change text font



Parameters:

Font   &$font  

[ Top ]

method setPadding [line 218]

void setPadding( int $left, int $right, int $top, int $bottom)

Change padding



Parameters:

int   $left   Left padding
int   $right   Right padding
int   $top   Top padding
int   $bottom   Bottom padding

[ Top ]

method setText [line 111]

void setText( string $text)

Change text



Parameters:

string   $text   New text

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:54:42 +0100 by phpDocumentor 1.4.1