Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Zend_Pdf_Element_Object $extGStateObject=null) | |
setAlpha ($alpha, $mode='Normal') | |
![]() | |
__construct ($resource) | |
__clone () | |
cloneResource ($factory, &$processed) | |
getResource () | |
getFactory () | |
Additional Inherited Members | |
![]() | |
$_objectFactory | |
$_resource | |
Definition at line 45 of file GraphicsState.php.
__construct | ( | Zend_Pdf_Element_Object | $extGStateObject = null | ) |
Object constructor.
Zend_Pdf_Element_Object | $extGStateObject |
Zend_Pdf_Exception |
Definition at line 53 of file GraphicsState.php.
setAlpha | ( | $alpha, | |
$mode = 'Normal' |
|||
) |
Set the transparancy
$alpha == 0 - transparent $alpha == 1 - opaque
Transparency modes, supported by PDF: Normal (default), Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion
float | $alpha | |
string | $mode |
Zend_Pdf_Exception |
Definition at line 89 of file GraphicsState.php.