|
JHotDraw 7.4.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ColorSystem
A ColorSystem defines a system to describe colors using a number of components. Each component has a normalized value between 0 and 1.
| Method Summary | |
|---|---|
int |
getComponentCount()
Returns the number of color components used by the color system. |
float[] |
toComponents(int rgb,
float[] components)
Converts the specified color components to RGB. |
int |
toRGB(float... components)
Converts the specified color components to RGB. |
| Method Detail |
|---|
int getComponentCount()
int toRGB(float... components)
components - The color components.
float[] toComponents(int rgb,
float[] components)
rgb - value.components - A component array for reuse.
|
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 | ||||||||