Examples TOCexamples

Circle Plain

$Date: 2004/08/10 18:12:46 $

 Table of contents

Introduction

This example requires :


This example will display a plain circle 360 degree as new shape of progress meter.

Default circle (size:50x50) filled in natural way.

There are 10 cells with default colors :

Percent text info is right aligned on a #EEEEEE background color area of 50 pixels width, at right side of circle.

A cache system is used on lines 21 thru 29, to avoid built pictures a second times.

[Top]

 Render options

background-color = #EEEEEE
HTML_Progress_UI::setStringAttributes()
background-color = #EEEEEE
spacing          = 0
width            = 50
height           = 50
HTML_Progress_UI::setCellAttributes()

[Top]

 Output

Screenshots

[Top]

 PHP source syntax highlight

Open source listing in a new window.

[Top]

 Play demo

Run the script.

[Top]