BCGFont.php
748 Bytes
<?php
/**
*--------------------------------------------------------------------
*
* Interface for a font.
*
*--------------------------------------------------------------------
* Copyright (C) Jean-Sebastien Goupil
* http://www.barcodephp.com
*/
interface BCGFont {
public /*internal*/ function getText();
public /*internal*/ function setText($text);
public /*internal*/ function getRotationAngle();
public /*internal*/ function setRotationAngle($rotationDegree);
public /*internal*/ function getBackgroundColor();
public /*internal*/ function setBackgroundColor($backgroundColor);
public /*internal*/ function getDimension();
public /*internal*/ function draw($im, $color, $x, $y);
}
?>