HTML color implementation
Factory class which vends Zend_Pdf_Color objects from typical HTML representations.
category | Zend |
---|---|
package | Zend_Pdf |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Pdf_Color |
__construct(mixed $color)
mixed
\Zend_Pdf_Exception |
---|
color(string $color) : \Zend_Pdf_Color
string
May either be a hexidecimal number of the form
\Zend_Pdf_Color
getComponents() : array
inherited_from | \Zend_Pdf_Color::getComponents() |
---|
array
getComponents() : array
array
instructions(boolean $stroking) : string
Color set instructions differ for stroking and nonstroking operations.
inherited_from | \Zend_Pdf_Color::instructions() |
---|
boolean
string
instructions(boolean $stroking) : string
Color set instructions differ for stroking and nonstroking operations.
boolean
string
namedColor(string $color) : \Zend_Pdf_Color
string
One of the 140 well-known color names (black, white, blue, etc.)
\Zend_Pdf_Color
$_color : \Zend_Pdf_Color