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) 2005-2007 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 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 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 Wed, 21 Feb 2007 11:50:23 -0800 by phpDocumentor 1.3.1