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


static method imagecolorgradient [line 612]

static void imagecolorgradient( $img, $x1, $y1, $x2, $y2, $f_c, $s_c)



Parameters:

   $img  
   $x1  
   $y1  
   $x2  
   $y2  
   $f_c  
   $s_c  

[ Top ]

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 183]

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



Parameters:

   $im  
   $direction  
   $start  
   $end  

[ Top ]

method fillGradient [line 314]

void fillGradient( $im, $x, $y, $w, $h, [ $direction = null], [ $start = null], [ $end = null])



Parameters:

   $im  
   $x  
   $y  
   $w  
   $h  
   $direction  
   $start  
   $end  

[ Top ]

method getCustomTargetPolygon [line 586]

void getCustomTargetPolygon( )



Tags:

access:  public


[ Top ]

method getDirection [line 484]

string getDirection( )

Determines the gradient direction Default value: vertical



Tags:

access:  public


[ Top ]

method getEndColor [line 547]

string getEndColor( )

Determines the gradient endColor Default value:



Tags:

access:  public


[ Top ]

method getEndRGBColor [line 558]

Color getEndRGBColor( )

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getStartColor [line 505]

string getStartColor( )

Determines the gradient startColor Default value:



Tags:

access:  public


[ Top ]

method getStartRGBColor [line 515]

Color getStartRGBColor( )

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getVisible [line 464]

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 449]

void hex2rgb( $color)



Parameters:

   $color  

[ Top ]

method rgbtoArray [line 444]

void rgbtoArray( $color)



Parameters:

   $color  

[ Top ]

method setCustomTargetPolygon [line 591]

void setCustomTargetPolygon( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setDirection [line 494]

void setDirection( value $value)

Determines the gradient direction Default value: vertical



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndColor [line 568]

void setEndColor( value $value)

Determines the gradient endColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndRGBColor [line 578]

void setEndRGBColor( value $value)

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setStartColor [line 526]

void setStartColor( value $value)

Determines the gradient startColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setStartRGBColor [line 536]

void setStartRGBColor( value $value)

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setVisible [line 474]

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, 16 Jun 2010 12:05:34 +0200 by phpDocumentor 1.4.1