Docs For Class Zend_Pdf_Color

## Class Zend_Pdf_Color

Description

PDF provides a powerfull facilities for specifying the colors of graphics objects.

This class encapsulates color behaviour.

Some colors interact with PDF document (create additional objects in a PDF), others don't do it. That is defined in a subclasses.

- abstract:
- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Pdf/Color.php (line 32)

Direct descendents

Class | Description
--- | ---
Zend_Pdf_Color_HTML | HTML color implementation
Zend_Pdf_Color_GrayScale | GrayScale color implementation
Zend_Pdf_Color_RGB | RGB color implementation
Zend_Pdf_Color_CMYK | CMYK color implementation

Method Summary
string instructions (boolean $stroking)
Methods
instructions (line 42)

Instructions, which can be directly inserted into content stream to switch color.

Color set instructions differ for stroking and nonstroking operations.

- access: public
- abstract:

string instructions (boolean $stroking)

- boolean $stroking

Redefined in descendants as:

- Zend_Pdf_Color_HTML::instructions() : Instructions, which can be directly inserted into content stream to switch color.
- Zend_Pdf_Color_GrayScale::instructions() : Instructions, which can be directly inserted into content stream to switch color.
- Zend_Pdf_Color_RGB::instructions() : Instructions, which can be directly inserted into content stream to switch color.
- Zend_Pdf_Color_CMYK::instructions() : Instructions, which can be directly inserted into content stream to switch color.

Documentation generated on Sun, 29 Oct 2006 21:27:04 -0600 by phpDocumentor 1.3.0RC6