|
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.RGBColorSystem
public class RGBColorSystem
A ColorSystem for RGB color components (red, green, blue).
| Constructor Summary | |
|---|---|
RGBColorSystem()
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[] 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 RGBColorSystem()
| Method Detail |
|---|
public float[] toComponents(int r,
int g,
int b,
float[] components)
toComponents in class AbstractColorSystempublic int toRGB(float... components)
ColorSystem
components - 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 | ||||||||