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

Class: awShadow

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

Class Overview


Draw shadows


Variables

Constants

Methods



Class Details

[line 33]
Draw shadows



[ Top ]


Class Variables

$hide =  FALSE

[line 90]

Hide shadow ?



Tags:

access:  protected

Type:   bool


[ Top ]



Class Methods


method draw [line 204]

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

Draw shadow



Tags:

access:  public


Parameters:

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

[ Top ]

method getSpace [line 185]

Side getSpace( )

Get the space taken by the shadow



Tags:

access:  public


[ Top ]

method hide [line 127]

void hide( [bool $hide = TRUE])

Hide shadow ?



Tags:

access:  public


Parameters:

bool   $hide  

[ Top ]

constructor __construct [line 118]

awShadow __construct( int $position)

Shadow constructor



Tags:

access:  public


Parameters:

int   $position   Shadow position

[ Top ]

method setColor [line 158]

void setColor( awColor $color)

Change shadow color



Tags:

access:  public


Parameters:

awColor   $color  

[ Top ]

method setPosition [line 167]

void setPosition( int $position)

Change shadow position



Tags:

access:  public


Parameters:

int   $position  

[ Top ]

method setSize [line 146]

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

Change shadow size



Tags:

access:  public


Parameters:

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

[ Top ]

method show [line 136]

void show( [bool $show = TRUE])

Show shadow ?



Tags:

access:  public


Parameters:

bool   $show  

[ Top ]

method smooth [line 176]

void smooth( bool $smooth)

Smooth shadow ?



Tags:

access:  public


Parameters:

bool   $smooth  

[ Top ]


Class Constants

IN =  1

[line 69]

In mode


[ Top ]

LEFT_BOTTOM =  2

[line 47]

Shadow on left and bottom sides


[ Top ]

LEFT_TOP =  1

[line 40]

Shadow on left and top sides


[ Top ]

OUT =  2

[line 76]

Out mode


[ Top ]

RIGHT_BOTTOM =  4

[line 62]

Shadow on right and bottom sides


[ Top ]

RIGHT_TOP =  3

[line 55]

Shadow on right and top sides


[ Top ]



Documentation generated on Thu, 03 May 2012 15:07:37 +0200 by phpDocumentor 1.4.1