PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

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

See

see HTML_Progress2::setCellAttributes

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007