[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Image/Graph/Fill/ -> Array.php (sommaire)

Image_Graph - PEAR PHP OO Graph Rendering Utility. PHP versions 4 and 5

Author: Jesper Veggerby <pear.nosey@veggerby.dk>
Copyright: Copyright (C) 2003, 2004 Jesper Veggerby Hansen
License: http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
Version: CVS: $Id: Array.php,v 1.8 2005/08/24 20:36:03 nosey Exp $
Poids: 137 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Fill.php

Définit 1 class

Image_Graph_Fill_Array:: (4 méthodes):
  _reset()
  add()
  addColor()
  _getFillStyle()


Classe: Image_Graph_Fill_Array  - X-Ref

A sequential array of fillstyles.

This is used for filling multiple objects within the same element with
different styles. This is done by adding multiple fillstyles to a FillArrray
structure. The fillarray will then when requested return the 'next' fillstyle
in sequential order. It is possible to specify ID tags to each fillstyle,
which is used to make sure some data uses a specific fillstyle (i.e. in a
multiple-/stackedbarchart you name the {@link Image_Graph_Dataset}s and uses
this name as ID tag when adding the dataset's associated fillstyle to the
fillarray.

_reset()   X-Ref
Resets the fillstyle


add(& $style, $id = '')   X-Ref
Add a fill style to the array

param: Image_Graph_Fill $style The style to add
param: string $id The id or name of the style

addColor($color, $id = false)   X-Ref
Add a color to the array

param: int $color The color
param: string $id The id or name of the color

_getFillStyle($ID = false)   X-Ref
Return the fillstyle

return: int A GD fillstyle



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7