PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 39 All time: 10,941 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  
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 (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:39
This week:0
All time:10,941
This week:206Up