Download the PHP package rimelek/ellipse3d without Composer
On this page you can find all versions of the php package rimelek/ellipse3d. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ellipse3d
Description
This library is just a rewritten version of v1.0.0 from 2009. Do not expect real 3D graphic.
Here some example what you can do with this library: Pictures
Installation
php composer.phar require rimelek/ellipse3d:2.*
Requirements
- PHP >= 7.0
- GD extension
Usage
Create a Configuration instance:
use Rimelek\Ellipse3D\Configuration;
use Rimelek\Ellipse3D\Ellipse3D;
$configuration = new Configuration();
Set options:
$configuration
->setBackgroundColor($backgroundColor)
->setFillColor($fillColor)
->setBorderColor($borderColor)
->setLineColorsX($lineColors)
->setLineColorsY($lineColors)
->setQuality($quality)
->setSpace($space)
->setType(Ellipse3D::TYPE_GIF)
->setHeight($height)
->setWidth($width)
->setCanvasHeight($canvasHeight)
->setCanvasWidth($canvasWidth)
->setTransparentBackground(false);
All colors are in the following format: r,g,b (Ex. 255,0,255)
Pass it to Ellipse3D's constructor:
$ellipse = new Ellipse3D($configuration);
Show the result:
$ellipse->show();
Note that it sends the appropriate HTTP header for the chosen image type.
All versions of ellipse3d with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-gd Version *
ext-gd Version *
The package rimelek/ellipse3d contains the following files
Loading the files please wait ....