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

Class: Gradient

Source Location: /drawing/Gradient.php

Class Overview

TeeBase
   |
   --Gradient

Gradient class


Author(s):

  • Steema Software SL.

Version:

  • 1.0

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 25]
Gradient class

Description:




Tags:

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


[ Top ]


Class Variables

$visible = false

[line 36]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


static method imagecolorgradient [line 627]

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

Gradient Gradient( [ $c = null])



Parameters:

   $c  

[ Top ]

destructor __destruct [line 79]

void __destruct( )



Tags:

access:  public


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

[ Top ]

method assign [line 98]

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

void display( $im)



Parameters:

   $im  

[ Top ]

method fill [line 197]

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



Parameters:

   $im  
   $direction  
   $start  
   $end  

[ Top ]

method fillGradient [line 328]

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

void getCustomTargetPolygon( )



Tags:

access:  public


[ Top ]

method getDirection [line 498]

string getDirection( )

Determines the gradient direction Default value: vertical



Tags:

access:  public


[ Top ]

method getEndColor [line 561]

string getEndColor( )

Determines the gradient endColor Default value:



Tags:

access:  public


[ Top ]

method getEndRGBColor [line 572]

Color getEndRGBColor( )

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getStartColor [line 519]

string getStartColor( )

Determines the gradient startColor Default value:



Tags:

access:  public


[ Top ]

method getStartRGBColor [line 529]

Color getStartRGBColor( )

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


[ Top ]

method getVisible [line 478]

boolean getVisible( )

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



Tags:

access:  public


[ Top ]

method gradientFill [line 143]

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



Parameters:

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

[ Top ]

method hex2rgb [line 463]

void hex2rgb( $color)



Parameters:

   $color  

[ Top ]

method rgbtoArray [line 458]

void rgbtoArray( $color)



Parameters:

   $color  

[ Top ]

method setCustomTargetPolygon [line 605]

void setCustomTargetPolygon( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setDirection [line 508]

void setDirection( value $value)

Determines the gradient direction Default value: vertical



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndColor [line 582]

void setEndColor( value $value)

Determines the gradient endColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setEndRGBColor [line 592]

void setEndRGBColor( value $value)

Determines the gradient endColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setStartColor [line 540]

void setStartColor( value $value)

Determines the gradient startColor Default value:



Tags:

access:  public


Parameters:

value   $value   string

[ Top ]

method setStartRGBColor [line 550]

void setStartRGBColor( value $value)

Determines the gradient startColor as RGB Default value:



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setVisible [line 488]

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

void __get( $property)



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

Parameters:

   $property  

[ Top ]

method __set [line 64]

void __set( $property, $value)



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

Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:42:28 +0200 by phpDocumentor 1.4.3