Image_Graph_Grid::setFill()

Image_Graph_Grid::setFill() -- Set fill elements to be used

Synopsis

require_once '/Graph/Elements.php';

array& Image_Graph_Grid::setFill (array $fillelements,...)

Description

This function will create instances of fill-objects with the options you provide. You can set an arbitrary number of fillelements which will be used in an alternating order. For a list of possible options in the options array please refer to the fill element class you wish to use (e.g. Image_Graph_Fill_Solid). A reference to the fill objects will also be returned by this function. Using that reference you can access methods provided by that fill object, e.g. to customize it.

Parameter

array $fillelements,...

array with fill element type (e.g. "solid") and an option array

Return value

returns array of fill-objects

Throws

throws no exceptions thrown

Note

This function can not be called statically.