PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.colorSpaces
Class Color

java.lang.Object
  extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.Color
Direct Known Subclasses:
DeviceColor

public abstract class Color
extends Object

Color value [PDF:1.6:4.5.1].

Version:
0.0.6
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
protected Color(ColorSpace colorSpace)
           
 
Method Summary
 ColorSpace getColorSpace()
           
abstract  double[] getComponents()
           
protected static double normalizeComponent(double value)
          Gets the normalized value of a color component [PDF:1.6:4.5.1].
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Color

protected Color(ColorSpace colorSpace)
Method Detail

normalizeComponent

protected static double normalizeComponent(double value)
Gets the normalized value of a color component [PDF:1.6:4.5.1].

Parameters:
value - Color component value to normalize.
Returns:
Normalized color component value.

getColorSpace

public ColorSpace getColorSpace()

getComponents

public abstract double[] getComponents()

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.