|
JHotDraw 7.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jhotdraw.color.AbstractColorSystem org.jhotdraw.color.HSVRGBColorSystem
public class HSVRGBColorSystem
A ColorSystem for HSV color components (hue, saturation, value).
Constructor Summary | |
---|---|
HSVRGBColorSystem()
Creates a new instance. |
Method Summary | |
---|---|
int |
getComponentCount()
Returns the number of color components used by the color system. |
float[] |
toComponents(int red,
int green,
int blue,
float[] components)
|
int |
toRGB(float... components)
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 HSVRGBColorSystem()
Method Detail |
---|
public int toRGB(float... components)
ColorSystem
components
- The color components.
public float[] toComponents(int red, int green, int blue, float[] components)
toComponents
in class AbstractColorSystem
public int getComponentCount()
ColorSystem
|
Copyright 1996-2009 (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 |