BCGFont.php 846 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. *--------------------------------------------------------------------
  4. *
  5. * Interface for a font.
  6. *
  7. *--------------------------------------------------------------------
  8. * Copyright (C) Jean-Sebastien Goupil
  9. * http://www.barcodephp.com
  10. */
  11. interface BCGFont {
  12. public /*internal*/ function getText();
  13. public /*internal*/ function setText($text);
  14. public /*internal*/ function getRotationAngle();
  15. public /*internal*/ function setRotationAngle($rotationDegree);
  16. public /*internal*/ function getBackgroundColor();
  17. public /*internal*/ function setBackgroundColor($backgroundColor);
  18. public /*internal*/ function getForegroundColor();
  19. public /*internal*/ function setForegroundColor($foregroundColor);
  20. public /*internal*/ function getDimension();
  21. public /*internal*/ function draw($im, $x, $y);
  22. }
  23. ?>