Zend Framework  1.12
Public Member Functions | List of all members
Zend_Pdf_Color_Rgb Class Reference

Public Member Functions

 __construct ($r, $g, $b)
 Object constructor.
 
 instructions ($stroking)
 Instructions, which can be directly inserted into content stream to switch color.
 
 getComponents ()
 Get color components (color space dependent)
 
- Public Member Functions inherited from Zend_Pdf_Color
 instructions ($stroking)
 Instructions, which can be directly inserted into content stream to switch color.
 
 getComponents ()
 Get color components (color space dependent)
 

Constructor & Destructor Documentation

__construct (   $r,
  $g,
  $b 
)

Object constructor.

Parameters
float$r
float$g
float$b

Clamp values to legal limits.

Member Function Documentation

getComponents ( )

Get color components (color space dependent)

Returns
array
instructions (   $stroking)

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

Color set instructions differ for stroking and nonstroking operations.

Parameters
boolean$stroking
Returns
string