PHP Classes

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 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 33 All time: 10,324 This week: 350Up
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: 6 packages by
Country: Mexico Mexico
Age: 47
All time rank: 394949 in Mexico Mexico
Week rank: 38 Up1 in Mexico Mexico Up
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:33
This week:0
All time:10,324
This week:350Up
For more information send a message to info at phpclasses dot org.