| java.lang.Object java.awt.Color
All known Subclasses: java.awt.SystemColor,
Inner Class :class ColorPaintContext implements PaintContext | |
Constructor Summary | |
public | Color(ColorSpace cspace, float[] components, float alpha) | public | Color(int rgba, boolean hasAlpha) | public | Color(int r, int g, int b, int a) | public | Color(int r, int g, int b) | public | Color(int rgb) | public | Color(float r, float g, float b, float a) | public | Color(float r, float g, float b) |
Method Summary | |
public static int | HSBtoRGB(float hue, float saturation, float brightness) | public static float[] | RGBtoHSB(int r, int g, int b, float[] hsbvals) | public Color | brighter() | public PaintContext | createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints rhs) | public Color | darker() | public static Color | decode(String nm) | public boolean | equals(Object obj) | public int | getAlpha() | public int | getBlue() | public static Color | getColor(String nm, Color def) | public static Color | getColor(String nm, int def) | public static Color | getColor(String nm) | public float[] | getColorComponents(ColorSpace colorSpace, float[] components) | public float[] | getColorComponents(float[] components) | public ColorSpace | getColorSpace() | public float[] | getComponents(ColorSpace colorSpace, float[] components) | public float[] | getComponents(float[] components) | public int | getGreen() | public static Color | getHSBColor(float h, float s, float b) | public int | getRGB() | public float[] | getRGBColorComponents(float[] components) | public float[] | getRGBComponents(float[] components) | public int | getRed() | public int | getTransparency() | public int | hashCode() | public String | toString() |
value | int value(Code) | | integer RGB value
|
Color | public Color(int rgba, boolean hasAlpha)(Code) | | |
Color | public Color(int r, int g, int b, int a)(Code) | | |
Color | public Color(int r, int g, int b)(Code) | | |
Color | public Color(int rgb)(Code) | | |
Color | public Color(float r, float g, float b, float a)(Code) | | |
Color | public Color(float r, float g, float b)(Code) | | |
HSBtoRGB | public static int HSBtoRGB(float hue, float saturation, float brightness)(Code) | | |
RGBtoHSB | public static float[] RGBtoHSB(int r, int g, int b, float[] hsbvals)(Code) | | |
getAlpha | public int getAlpha()(Code) | | |
getBlue | public int getBlue()(Code) | | |
getColorComponents | public float[] getColorComponents(ColorSpace colorSpace, float[] components)(Code) | | |
getColorComponents | public float[] getColorComponents(float[] components)(Code) | | |
getComponents | public float[] getComponents(ColorSpace colorSpace, float[] components)(Code) | | |
getComponents | public float[] getComponents(float[] components)(Code) | | |
getGreen | public int getGreen()(Code) | | |
getHSBColor | public static Color getHSBColor(float h, float s, float b)(Code) | | |
getRGB | public int getRGB()(Code) | | |
getRGBColorComponents | public float[] getRGBColorComponents(float[] components)(Code) | | |
getRGBComponents | public float[] getRGBComponents(float[] components)(Code) | | |
getRed | public int getRed()(Code) | | |
getTransparency | public int getTransparency()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|