Name
HTML_Progress2::setCellCoordinates
— Sets coordinates of each cell for a polygonal progress meter
Synopsis
require_once 'HTML/Progress2.php';
void HTML_Progress2::setCellCoordinates(
|
$xgrid,
|
|
|
$ygrid,
|
|
|
$coord = array()) ;
|
|
integer
|
$xgrid;
|
integer
|
$ygrid;
|
array
|
$coord = array();
|
Description
A polygonal progress meter is defined by its size (width, height) and
its cells coordinates (array of couple x,y screen coordinates).
Parameter
-
integer
$xgrid
-
The grid width in cell size
-
integer
$ygrid
-
The grid height in cell size
-
array
$coord
-
(optional) Coordinates (x,y) in the grid, of each cell
Throws
throws
HTML_PROGRESS2_ERROR_INVALID_INPUT
Note
since 2.0.0
This function can not be called statically.