CMYK color implementation
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.
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(float $c, float $m, float $y, float $k)
float
float
float
float
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
$_c : \Zend_Pdf_Element_Numeric
0.0 (zero concentration) - 1.0 (maximum concentration)
$_k : \Zend_Pdf_Element_Numeric
0.0 (zero concentration) - 1.0 (maximum concentration)
$_m : \Zend_Pdf_Element_Numeric
0.0 (zero concentration) - 1.0 (maximum concentration)
$_y : \Zend_Pdf_Element_Numeric
0.0 (zero concentration) - 1.0 (maximum concentration)