PHP Draw Three Rectangles: Display three rectangles on a Web page using SVG

Recommend this page to a friend!
  Info   View files Documentation   Demos   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-10-17 (13 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 This week: 2All time: 10,319 This week: 99Up
Version License PHP version Categories
random-colors-3-rect 1Custom (specified...5HTML, PHP 5, Graphics
Description Author

This class can display three rectangles on a Web page using SVG.

It can generate HTML using SVG to display three rectangles.

The class displays the generated HTML for the rectangles as part of the current script Web page output.

Picture of jean paul Delaye
  Performance   Level  
Name: jean paul Delaye <contact>
Classes: 5 packages by
Country: Mexico Mexico
Innovation award
Innovation award
Nominee: 1x

Details

random-colors-3-rectangles

PhP class that fills 3 SGV rectangles with a random color

Requirements

php >= 5.4.0 

How to use it? just copy the file class.random-colors-3-rectangles.php to your class directory.

  $artwork = new rectanglesrandomfilled( );

It will output 3 sgv rectangles filled with a random color each one.

working sample: https://intelector.com/rectangles-random-filled/

Note: This class will be the base to create the project MONOCREATE.

  Demo pageExternal page  
  Files folder image Files  
File Role Description
Plain text file class.rectangles-random-filled.php Class update
Plain text file index.php Example added
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:2
All time:10,319
This week:99Up
For more information send a message to info at phpclasses dot org.