[ class tree: phpchartPlus ] [ index: phpchartPlus ] [ all elements ]

Source for file Shape.php

Documentation is available at Shape.php

  1. <?php
  2.  
  3. /*
  4. **************************************************
  5. Class: Shape.php
  6. **************************************************
  7. Author: Tsiavos Chris <jaames@freemail.gr>
  8. Date: October 2004
  9. **************************************************/
  10.  
  11. /**
  12. *Base class for all kinds of shapes
  13. *@abstract
  14. *@author Tsiavos Chris <jaames@freemail.gr>
  15. *@license http://opensource.org/licenses/gpl-license.php GNU Public License
  16. */
  17.  
  18. abstract class Shape {
  19.  
  20. /**
  21. *reference to the image handler the shape will be drawn in
  22. *@access public
  23. *@var mixed
  24. */
  25. protected $Canvas;
  26. /**
  27. *reference to the ColorAllocator the class will use for allocating the shape color
  28. *@access public
  29. *@var ColorAllocator
  30. */
  31. protected $ColorAllocator;
  32. /**
  33. *whether antialias functions should be used or not when drawing the shape
  34. *@access protected
  35. *@var string
  36. */
  37. protected $UseAntialias;
  38. function __construct(&$Canvas,ColorAllocator &$ColorAllocator,$UseAntialias) {
  39. $this->Canvas=$Canvas;
  40. $this->ColorAllocator=$ColorAllocator;
  41. $this->UseAntialias=$UseAntialias;
  42. }
  43.  
  44. }
  45.  
  46. ?>

Documentation generated on Sun, 3 Oct 2004 14:59:33 +0300 by phpDocumentor 1.3.0RC3