Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Content stream (drawing instructions container)

__construct(
\Zend_Pdf_Element_Object_Stream|string $contentStreamObject
=
''
)
:
void
Object constructor.
Name | Type | Description |
---|---|---|
$contentStreamObject | \Zend_Pdf_Element_Object_Stream|string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |

addInstructions(
string $instructions
)
:
\Zend_Pdf_Resource_ContentStream
Appends instructions to the end of the content stream
Name | Type | Description |
---|---|---|
$instructions | string |
Type | Description |
---|---|
\Zend_Pdf_Resource_ContentStream |

clear(
)
:
\Zend_Pdf_Resource_ContentStream
Clear stream content.
Type | Description |
---|---|
\Zend_Pdf_Resource_ContentStream |