|
JHotDraw 7.4.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.color.AbstractColorSystem
org.jhotdraw.color.CMYKNominalColorSystem
public class CMYKNominalColorSystem
A ColorSystem for CMYK color components (cyan, magenta, yellow, black) with nominally converted color components from/to an RGB color model.
This model may not be very useful. It assumes that the color components perfectly absorb the desired wavelenghts.
| Constructor Summary | |
|---|---|
CMYKNominalColorSystem()
Creates a new instance. |
|
| Method Summary | |
|---|---|
int |
getComponentCount()
Returns the number of color components used by the color system. |
float[] |
toComponents(int r,
int g,
int b,
float[] component)
|
int |
toRGB(float... component)
Converts the specified color components to RGB. |
| Methods inherited from class org.jhotdraw.color.AbstractColorSystem |
|---|
toComponents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMYKNominalColorSystem()
| Method Detail |
|---|
public float[] toComponents(int r,
int g,
int b,
float[] component)
toComponents in class AbstractColorSystempublic int toRGB(float... component)
ColorSystem
component - The color components.
public int getComponentCount()
ColorSystem
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||