Docs For Class Zend_Pdf_Color_HTML

## Class Zend_Pdf_Color_HTML

Description

HTML color implementation

Factory class which vends Zend_Pdf_Color objects from typical HTML representations.

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

Located in /Zend/Pdf/Color/HTML.php (line 46)

    Zend_Pdf_Color
       |
       --Zend_Pdf_Color_HTML

Method Summary
static Zend_Pdf_Color color (string $color)
static Zend_Pdf_Color namedColor (string $color)
Zend_Pdf_Color_HTML __construct (mixed $color)
string instructions (boolean $stroking)
Methods
static method color (line 88)

Creates a Zend_Pdf_Color object from the HTML representation.

- access: public

static Zend_Pdf_Color color (string $color)

- string $color: May either be a hexidecimal number of the form #rrggbb or one of the 140 well-known names (black, white, blue, etc.)

static method namedColor (line 112)

Creates a Zend_Pdf_Color object from the named color.

- access: public

static Zend_Pdf_Color namedColor (string $color)

- string $color: One of the 140 well-known color names (black, white, blue, etc.)

Constructor __construct (line 62)

Class constructor.

- access: public
- throws: Zend_Pdf_Exception

Zend_Pdf_Color_HTML __construct (mixed $color)

- mixed $color

instructions (line 76)

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

Color set instructions differ for stroking and nonstroking operations.

- access: public

string instructions (boolean $stroking)

- boolean $stroking

Redefinition of:

Zend_Pdf_Color::instructions()
  Instructions, which can be directly inserted into content stream to switch color.

#### Inherited Methods

Inherited From Zend_Pdf_Color

> Zend_Pdf_Color::instructions()

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