PDF Clown
0.0.8

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

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

public class DeviceGrayColor
extends DeviceColor

Device Gray color value [PDF:1.6:4.5.3].

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

Field Summary
static DeviceGrayColor Black
           
static DeviceGrayColor Default
           
static DeviceGrayColor White
           
 
Constructor Summary
DeviceGrayColor(double intensity)
           
 
Method Summary
 double[] getComponents()
           
 double getIntensity()
          Gets the gray component.
 void setIntensity(double value)
          Sets the gray 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 DeviceGrayColor Black

White

public static final DeviceGrayColor White

Default

public static final DeviceGrayColor Default
Constructor Detail

DeviceGrayColor

public DeviceGrayColor(double intensity)
Method Detail

getComponents

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

getIntensity

public double getIntensity()
Gets the gray component.


setIntensity

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