Image_Graph_Data_Line::drawGD()

Image_Graph_Data_Line::drawGD() -- Draws diagram element

Synopsis

require_once '/Graph/Data/Line.php';

void Image_Graph_Data_Line::drawGD (resource &$img [, int $drawWhat = IMAGE_GRAPH_DRAW_FILLANDBORDER])

Description

The parameter $drawWhat is needed to be able to first draw the fill of all line-elements and later draw the lines, in case that stacking is used.

Parameter

resource &$img

GD-resource to draw to

integer $drawWhat

choose what to draw; use constants IMAGE_GRAPH_DRAW_FILLANDBORDER, IMAGE_GRAPH_DRAW_JUSTFILL or IMAGE_GRAPH_DRAW_JUSTBORDER

Throws

throws no exceptions thrown

Note

This function can not be called statically.