API Documentation

Pdf/Color/Rgb.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
version
$Id: Rgb.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Color_Rgb

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Pdf_Color_Rgb

Extends from
Zend_Pdf_Color
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
Properties
$_r
$_g
$_b
Methods
__construct
instructions
getComponents

Description

RGB color implementation

Properties

$_b

Zend_Pdf_Element_Numeric $_b = ''

Blue level.

0.0 (zero concentration) - 1.0 (maximum concentration)

Details

$_b
Zend_Pdf_Element_Numeric
visibility
private
default
final
false
static
false

$_g

Zend_Pdf_Element_Numeric $_g = ''

Green level.

0.0 (zero concentration) - 1.0 (maximum concentration)

Details

$_g
Zend_Pdf_Element_Numeric
visibility
private
default
final
false
static
false

$_r

Zend_Pdf_Element_Numeric $_r = ''

Red level.

0.0 (zero concentration) - 1.0 (maximum concentration)

Details

$_r
Zend_Pdf_Element_Numeric
visibility
private
default
final
false
static
false

Methods

__construct

__construct( float $r, float $g, float $b ) :

Object constructor

Arguments
$r
float
$g
float
$b
float
Details
visibility
public
final
false
static
false

getComponents

getComponents( ) : array

Get color components (color space dependent)

Output
array
Details
visibility
public
final
false
static
false

instructions

instructions( boolean $stroking ) : string

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

Color set instructions differ for stroking and nonstroking operations.

Arguments
$stroking
boolean
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.