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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 39 All time: 10,864 This week: 206Up
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: 7 packages by
Country: Mexico Mexico
Age: 49
All time rank: 376547 in Mexico Mexico
Week rank: 321 Up7 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Documentation

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  

Open in a separate window

  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:39
This week:0
All time:10,864
This week:206Up