|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
C - The type of color component for this color space.public interface ModeledColor<C extends java.lang.Enum<C> & ModeledColor.Component>
Representation of a color through use of a color color space model.
| Nested Class Summary | |
|---|---|
static interface |
ModeledColor.Component
The color component used in the color space. |
| Method Summary | |
|---|---|
long |
getAbsoluteComponent(C component,
int bitDepth)
Determines the absolute value of the given color component with the given bit depth. |
double |
getComponent(C component)
Determines the value of the given color component. |
| Methods inherited from interface com.guiseframework.style.Color |
|---|
asHSL, asRGB |
| Method Detail |
|---|
double getComponent(C component)
component - The color component for which a value should be retrieved.
long getAbsoluteComponent(C component,
int bitDepth)
component - The color component for which a value should be retrieved.bitDepth - The number of bits to use for the given color component.
getComponent(Enum)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||