Class: Image_Graph_Driver
Source Location: /Image_Graph-0.3.0/Graph/Driver.php
Driver class.
Author(s):
Version:
- Release: @package_version@
Copyright:
- Copyright (C) 2003, 2004 Jesper Veggerby Hansen
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Method Detail
Image_Graph_Driver (Constructor) [line 139]
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 522]
ellipse [line 424]
endGroup [line 512]
factory [line 558]
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 197]
Get the height of the canvas
getWidth [line 187]
Get the width of the canvas
line [line 334]
overlayImage [line 492]
pieSlice [line 443]
polygonAdd [line 345]
void polygonAdd(
int
$x, int
$y)
|
|
Adds vertex to a polygon
Parameters:
polygonEnd [line 381]
rectangle [line 409]
setDefaultFont [line 303]
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 230]
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 246]
void setFillColor(
mixed
$color)
|
|
Sets the color of the filling of drawn objects
Parameters:
setFillImage [line 256]
setFont [line 284]
setGradientFill [line 265]
setLineColor [line 217]
void setLineColor(
mixed
$color)
|
|
Sets the color of the line(s) to be drawn
Parameters:
setLineThickness [line 207]
void setLineThickness(
int
$thickness)
|
|
Sets the thickness of the line(s) to be drawn
Parameters:
splineAdd [line 360]
void splineAdd(
int
$x, int
$y,
$p1x,
$p1y,
$p2x,
$p2y)
|
|
Adds vertex to a polygon
Parameters:
splineEnd [line 394]
startGroup [line 503]
void startGroup(
[string
$name = false])
|
|
Start a group. What this does, depends on the driver/format.
Overridden in child classes as:
- Image_Graph_Driver_SVG::startGroup()
- Start a group.
Parameters:
textHeight [line 464]
textWidth [line 454]
write [line 477]
Documentation generated on Mon, 11 Mar 2019 14:24:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|