PDF Clown
0.0.8

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

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.DeviceCMYKColor

public class DeviceCMYKColor
extends DeviceColor

Device Cyan-Magenta-Yellow-Key color value [PDF:1.6:4.5.3].

Remarks

The 'Key' component is renamed 'Black' to avoid semantic ambiguities.

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

Field Summary
static DeviceCMYKColor Black
           
static DeviceCMYKColor Default
           
static DeviceCMYKColor White
           
 
Constructor Summary
DeviceCMYKColor(double cyanComponent, double magentaComponent, double yellowComponent, double blackComponent)
           
 
Method Summary
 double getBlackComponent()
          Gets the black (key) component.
 double[] getComponents()
           
 double getCyanComponent()
          Gets the cyan component.
 double getMagentaComponent()
          Gets the magenta component.
 double getYellowComponent()
          Gets the yellow component.
 void setBlackComponent(double value)
          Sets the black (key) component.
 void setCyanComponent(double value)
          Sets the cyan component.
 void setMagentaComponent(double value)
          Sets the magenta component.
 void setYellowComponent(double value)
          Sets the yellow component.
 
Methods inherited from class it.stefanochizzolini.clown.documents.contents.colorSpaces.Color
getColorSpace, normalizeComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Black

public static final DeviceCMYKColor Black

White

public static final DeviceCMYKColor White

Default

public static final DeviceCMYKColor Default
Constructor Detail

DeviceCMYKColor

public DeviceCMYKColor(double cyanComponent,
                       double magentaComponent,
                       double yellowComponent,
                       double blackComponent)
Method Detail

getBlackComponent

public double getBlackComponent()
Gets the black (key) component.


getComponents

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

getCyanComponent

public double getCyanComponent()
Gets the cyan component.


getMagentaComponent

public double getMagentaComponent()
Gets the magenta component.


getYellowComponent

public double getYellowComponent()
Gets the yellow component.


setBlackComponent

public void setBlackComponent(double value)
Sets the black (key) component.


setCyanComponent

public void setCyanComponent(double value)
Sets the cyan component.


setMagentaComponent

public void setMagentaComponent(double value)
Sets the magenta component.


setYellowComponent

public void setYellowComponent(double value)
Sets the yellow 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.