Name
HTML_Progress2::drawCircleSegments
— Draw all circle segment pictures
Synopsis
require_once 'HTML/Progress2.php';
array HTML_Progress2::drawCircleSegments( |
$dir = '.',
|
|
|
$fileMask = 'c%s.png') ; |
|
string |
$dir = '.'; |
string |
$fileMask = 'c%s.png'; |
Description
This function build/prepare all circle segment PNG pictures that will be send to browser output. Requires PEAR::Image_Color and PHP:gd extension.
Parameter
- string
$dir
-
(optional) Directory where pictures should be created
- string
$fileMask
-
(optional) sprintf format for pictures filename
Throws
throws HTML_PROGRESS2_ERROR_INVALID_INPUT
Note
since 2.0.0
This function can not be called statically.