|
JHotDraw 7.3.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.HSVRYBColorSystem
public class HSVRYBColorSystem
A ColorSystem for a historic version of the HSV color components (hue, saturation, value) based on the primary colors red, yellow and blue.
| Constructor Summary | |
|---|---|
HSVRYBColorSystem()
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 HSVRYBColorSystem()
| 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 AbstractColorSystempublic 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 | ||||||||