| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Color
org.freehep.graphicsio.ps.MappedColor
| Field Summary | |
| protected  int | brightnessValue of the brightness/darkness of this color. | 
| protected  int | colorIndexIndex of the color in the color map. | 
| Fields inherited from class java.awt.Color | 
| black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW | 
| Fields inherited from interface java.awt.Transparency | 
| BITMASK, OPAQUE, TRANSLUCENT | 
| Constructor Summary | |
| MappedColor(int r,
            int g,
            int b,
            int colorIndex)Constructor takes the RGB color components and the color index. | |
| MappedColor(int r,
            int g,
            int b,
            int colorIndex,
            int brightness)Constructor takes the RGB color components, the color index, and the brightness. | |
| Method Summary | |
|  Color | brighter()Make a brightened color based on this color. | 
|  Color | darker()Make a darkened color based on this color. | 
|  int | getBrightness()Get the brightness of this color. | 
|  String | getColorTag()Get the tag associated with this color. | 
| Methods inherited from class java.awt.Color | 
| createContext, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected int colorIndex
protected int brightness
| Constructor Detail | 
public MappedColor(int r,
                   int g,
                   int b,
                   int colorIndex)
public MappedColor(int r,
                   int g,
                   int b,
                   int colorIndex,
                   int brightness)
| Method Detail | 
public Color brighter()
public Color darker()
public int getBrightness()
public String getColorTag()
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||