24 #require_once 'Zend/Pdf/Element/Object.php'; 25 #require_once 'Zend/Pdf/Element/Dictionary.php'; 26 #require_once 'Zend/Pdf/Element/Name.php'; 27 #require_once 'Zend/Pdf/Element/Numeric.php'; 31 #require_once 'Zend/Pdf/Resource.php'; 55 if ($extGStateObject ==
null) {
57 #require_once 'Zend/Pdf/ElementFactory.php'; 63 $extGStateObject =
$factory->newObject($gsDictionary);
67 #require_once 'Zend/Pdf/Exception.php'; 71 parent::__construct($gsDictionary);
91 if (!in_array(
$mode, array(
'Normal',
'Multiply',
'Screen',
'Overlay',
'Darken',
'Lighten',
'ColorDodge',
92 'ColorBurn',
'HardLight',
'SoftLight',
'Difference',
'Exclusion'))) {
93 #require_once 'Zend/Pdf/Exception.php'; 96 if (!is_numeric($alpha) || $alpha < 0 || $alpha > 1) {
97 #require_once 'Zend/Pdf/Exception.php'; 98 throw new Zend_Pdf_Exception(
'Alpha value must be numeric between 0 (transparent) and 1 (opaque).');
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
__construct(Zend_Pdf_Element_Object $extGStateObject=null)
static createFactory($objCount)
setAlpha($alpha, $mode='Normal')