TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Class: Gradient

Source Location: /drawing/Gradient.php

Class Overview

TeeBase
   |
   --Gradient

Gradient class


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
Gradient class

Description:




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

$visible = false

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor Gradient [line 66]

Gradient Gradient( [ $c = null])



Parameters:

   $c  

[ Top ]

method assign [line 84]

void assign( value $value)

Copies the Gradient parameter properties into the Canvas.Gradient object.



Tags:

access:  public


Parameters:

value   $value   Gradient

[ Top ]

method display [line 160]

void display( $im)



Parameters:

   $im  

[ Top ]

method fill [line 184]

void fill( $im, [ $direction = null], [ $start = null], [ $end = null])



Parameters:

   $im  
   $direction  
   $start  
   $end  

[ Top ]

method getCustomTargetPolygon [line 466]

void getCustomTargetPolygon( )



Tags:

access:  public


[ Top ]

method getDirection [line 364]

string getDirection( )

Determines the gradient direction Default value: vertical



Tags:

access:  public


[ Top ]

method getEndColor [line 427]

string getEndColor( )

Determines the gradient endColor Default value:



Tags:

access:  public


[ Top ]

method getEndRGBColor [line 438]

Color getEndRGBColor( )

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getStartColor [line 385]

string getStartColor( )

Determines the gradient startColor Default value:



Tags:

access:  public


[ Top ]

method getStartRGBColor [line 395]

Color getStartRGBColor( )

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getVisible [line 344]

boolean getVisible( )

Determines whether the gradient fill appears on screen.
Default value: false



Tags:

access:  public


[ Top ]

method gradientFill [line 129]

void gradientFill( $w, $h, $d, $s, $e, [ $step = 0])



Parameters:

   $w  
   $h  
   $d  
   $s  
   $e  
   $step  

[ Top ]

method hex2rgb [line 329]

void hex2rgb( $color)



Parameters:

   $color  

[ Top ]

method rgbtoArray [line 324]

void rgbtoArray( $color)



Parameters:

   $color  

[ Top ]

method setCustomTargetPolygon [line 471]

void setCustomTargetPolygon( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setDirection [line 374]

void setDirection( value $value)

Determines the gradient direction Default value: vertical



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndColor [line 448]

void setEndColor( value $value)

Determines the gradient endColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndRGBColor [line 458]

void setEndRGBColor( value $value)

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setStartColor [line 406]

void setStartColor( value $value)

Determines the gradient startColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setStartRGBColor [line 416]

void setStartRGBColor( value $value)

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setVisible [line 354]

void setVisible( value $value)

Determines whether the gradient fill appears on screen.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method __get [line 52]

void __get( $property)

todo NECESSARY??



Overrides TeeBase::__get() (parent method not documented)

Parameters:

   $property  

[ Top ]

method __set [line 59]

void __set( $property, $value)



Overrides TeeBase::__set() (parent method not documented)

Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Wed, 26 Aug 2009 10:49:38 +0200 by phpDocumentor 1.4.1