PDF Clown
0.0.8

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

java.lang.Object
  extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.Color
      extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.DeviceColor
          extended by it.stefanochizzolini.clown.documents.contents.colorSpaces.DeviceRGBColor

public class DeviceRGBColor
extends DeviceColor

Device Red-Green-Blue color value [PDF:1.6:4.5.3].

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

Field Summary
static DeviceRGBColor Black
           
static DeviceRGBColor Default
           
static DeviceRGBColor White
           
 
Constructor Summary
DeviceRGBColor(double redComponent, double greenComponent, double blueComponent)
           
 
Method Summary
 boolean equals(Object object)
           
 double getBlueComponent()
          Gets the blue component.
 double[] getComponents()
           
 double getGreenComponent()
          Gets the green component.
 double getRedComponent()
          Gets the red component.
 int hashCode()
           
 void setBlueComponent(double value)
          Sets the blue component.
 void setGreenComponent(double value)
          Sets the green component.
 void setRedComponent(double value)
          Sets the red component.
 
Methods inherited from class it.stefanochizzolini.clown.documents.contents.colorSpaces.Color
getColorSpace, normalizeComponent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Black

public static final DeviceRGBColor Black

White

public static final DeviceRGBColor White

Default

public static final DeviceRGBColor Default
Constructor Detail

DeviceRGBColor

public DeviceRGBColor(double redComponent,
                      double greenComponent,
                      double blueComponent)
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getBlueComponent

public double getBlueComponent()
Gets the blue component.


getComponents

public double[] getComponents()
Specified by:
getComponents in class Color

getGreenComponent

public double getGreenComponent()
Gets the green component.


getRedComponent

public double getRedComponent()
Gets the red component.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

setBlueComponent

public void setBlueComponent(double value)
Sets the blue component.


setGreenComponent

public void setGreenComponent(double value)
Sets the green component.


setRedComponent

public void setRedComponent(double value)
Sets the red component.


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.