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

Class: awShadow

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

Class Overview


Draw shadows


Variables

Methods



Class Details

[line 33]
Draw shadows



[ Top ]


Class Variables

$color =

[line 97]

Shadow color


Type:   Color


[ Top ]

$hide =  FALSE

[line 90]

Hide shadow ?


Type:   bool


[ Top ]

$position =

[line 104]

Shadow position


Type:   int


[ Top ]

$size =  0

[line 83]

Shadow size


Type:   int


[ Top ]

$smooth =  FALSE

[line 111]

Smooth shadow ?


Type:   bool


[ Top ]



Class Methods


constructor awShadow [line 118]

awShadow awShadow( int $position)

Shadow constructor



Parameters:

int   $position   Shadow position

[ Top ]

method draw [line 204]

void draw( $driver $driver, $p1 $p1, $p2 $p2, int $mode)

Draw shadow



Parameters:

$driver   $driver  
$p1   $p1   Top-left point
$p2   $p2   Right-bottom point
int   $mode   Drawing mode

[ Top ]

method getSpace [line 185]

Side getSpace( )

Get the space taken by the shadow



[ Top ]

method hide [line 127]

void hide( [bool $hide = TRUE])

Hide shadow ?



Parameters:

bool   $hide  

[ Top ]

method setColor [line 158]

void setColor( $color $color)

Change shadow color



Parameters:

$color   $color  

[ Top ]

method setPosition [line 167]

void setPosition( int $position)

Change shadow position



Parameters:

int   $position  

[ Top ]

method setSize [line 146]

void setSize( int $size, [bool $smooth = NULL])

Change shadow size



Parameters:

int   $size  
bool   $smooth   Smooth the shadow (facultative argument)

[ Top ]

method show [line 136]

void show( [bool $show = TRUE])

Show shadow ?



Parameters:

bool   $show  

[ Top ]

method smooth [line 176]

void smooth( bool $smooth)

Smooth shadow ?



Parameters:

bool   $smooth  

[ Top ]

method smoothFuture [line 394]

void smoothFuture( $driver, $color, $width, $height)



Parameters:

   $driver  
   $color  
   $width  
   $height  

[ Top ]

method smoothPast [line 368]

void smoothPast( $driver, $color, $width, $height)



Parameters:

   $driver  
   $color  
   $width  
   $height  

[ Top ]


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