Class: Image_Graph_Driver
Source Location: /Image_Graph-0.3.0dev4/Graph/Driver.php
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Method Detail
Image_Graph_Driver (Constructor) [line 138]
Image_Graph_Driver &Image_Graph_Driver(
array
$param)
|
|
Create the driver. Parameters available: 'width' The width of the graph on the canvas 'height' The height of the graph on the canvas 'left' The left offset of the graph on the canvas 'top' The top offset of the graph on the canvas
Parameters:
done [line 501]
ellipse [line 423]
factory [line 537]
Driver factory method. Supported drivers are: 'png': output in PNG format (using GD) 'jpg': output in JPEG format (using GD) 'svg': Scalable Vector Graphics 'xmlsvg': Scalable Vector Graphics, requires PEAR::XML_SVG (not implemented) 'pdf': PDF Output, requires PEAR::File_PDF (not implemented) 'pdflib': PDF Output, requires PDFlib (not implemented) 'swf': SWF Output, requires MING (not implemented) 'libswf': SWF Output, requires libswf (not implemented)
Parameters:
getHeight [line 196]
Get the height of the canvas
getWidth [line 186]
Get the width of the canvas
line [line 333]
overlayImage [line 491]
pieSlice [line 442]
polygonAdd [line 344]
void polygonAdd(
int
$x, int
$y)
|
|
Adds vertex to a polygon
Parameters:
polygonEnd [line 380]
rectangle [line 408]
setDefaultFont [line 302]
void setDefaultFont(
array
$fontOptions)
|
|
Sets the default font options. The $font array may have the following entries: 'ttf' = the .ttf file (either the basename, filename or full path) If 'ttf' is specified, then the following can be specified 'size' = size in pixels 'angle' = the angle with which to write the text
Parameters:
setFill [line 229]
void setFill(
mixed
$fill)
|
|
Sets the style of the filling of drawn objects. This method gives simple access to setFillColor(), setFillImage() and setGradientFill()
Parameters:
setFillColor [line 245]
void setFillColor(
mixed
$color)
|
|
Sets the color of the filling of drawn objects
Parameters:
setFillImage [line 255]
setFont [line 283]
setGradientFill [line 264]
setLineColor [line 216]
void setLineColor(
mixed
$color)
|
|
Sets the color of the line(s) to be drawn
Parameters:
setLineThickness [line 206]
void setLineThickness(
int
$thickness)
|
|
Sets the thickness of the line(s) to be drawn
Parameters:
splineAdd [line 359]
void splineAdd(
int
$x, int
$y,
$p1x,
$p1y,
$p2x,
$p2y)
|
|
Adds vertex to a polygon
Parameters:
splineEnd [line 393]
textHeight [line 463]
textWidth [line 453]
write [line 476]
Documentation generated on Mon, 11 Mar 2019 14:21:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|