Changed Constructors |
Color(float, float, float)
|
Documentation changed from old to new. |
Creates an opaque sRGB color with the specified red green and blue values in the range (0.0 - 1.0). |
Color(float, float, float, float)
|
Documentation changed from old to new. |
Creates an sRGB color with the specified red green blue and alpha values in the range (0.0 - 1.0). |
Color(int )
|
Documentation changed from old to new. |
Creates an opaque sRGB color with the specified combined RGB value consisting of the red component in bits 16-23 the green component in bits 8-15 and the blue component in bits 0-7. |
Color(int, boolean)
|
Documentation changed from old to new. |
Creates an sRGB color with the specified combined RGBA value consisting of the alpha component in bits 24-31 the red component in bits 16-23 the green component in bits 8-15 and the blue component in bits 0-7. |
Color(int, int, int)
|
Documentation changed from old to new. |
Creates an opaque sRGB color with the specified red green and blue values in the range (0 - 255). |
Color(ColorSpace, float[], float)
|
Documentation changed from old to new. |
Creates a color in the specified ColorSpace with the color components specified in the float array and the specified alpha. |
Changed Methods |
int HSBtoRGB(float, float, float)
|
Documentation changed from old to new. |
Converts the components of a color as specified by the HSB model to an equivalent set of values for the default RGB model. |
float[] RGBtoHSB(int, int, int, float[])
|
Documentation changed from old to new. |
Converts the components of a color as specified by the default RGB model to an equivalent set of values for hue saturation and brightness that are the three components of the HSB model. |
Color brighter()
|
Documentation changed from old to new. |
Creates a new Color that is a brighter version of this Color . |
PaintContext createContext(ColorModel, Rectangle, Rectangle2D, AffineTransform, RenderingHints)
|
Documentation changed from old to new. |
Creates and returns a PaintContext used to generate a solid color pattern. |
Color darker()
|
Documentation changed from old to new. |
Creates a new Color that is a darker version of this Color . |
Color decode(String )
|
Documentation changed from old to new. |
Converts a String to an integer and returns the specified opaque Color . |
boolean equals(Object )
|
Documentation changed from old to new. |
Determines whether another object is equal to this Color . |
int getAlpha()
|
Documentation changed from old to new. |
Returns the alpha component in the range 0-255. |
int getBlue()
|
Documentation changed from old to new. |
Returns the blue component in the range 0-255 in the default sRGB space. |
ColorSpace getColorSpace()
|
Documentation changed from old to new. |
Returns the ColorSpace of this Color . |
int getGreen()
|
Documentation changed from old to new. |
Returns the green component in the range 0-255 in the default sRGB space. |
Color getHSBColor(float, float, float)
|
Documentation changed from old to new. |
Creates a Color object based on the specified values for the HSB color model. |
int getRGB()
|
Documentation changed from old to new. |
Returns the RGB value representing the color in the default sRGB ColorModel (Bits 24-31 are alpha 16-23 are red 8-15 are green 0-7 are blue). |
float[] getRGBColorComponents(float[] )
|
Documentation changed from old to new. |
Returns a float array containing only the color components of the Color in the default sRGB color space. |
float[] getRGBComponents(float[] )
|
Documentation changed from old to new. |
Returns a float array containing the color and alpha components of the Color as represented in the default sRGB color space. |
int getRed()
|
Documentation changed from old to new. |
Returns the red component in the range 0-255 in the default sRGB space. |
int getTransparency()
|
Documentation changed from old to new. |
Returns the transparency mode for this Color . |
int hashCode()
|
Documentation changed from old to new. |
Computes the hash code for this Color . |
String toString()
|
Documentation changed from old to new. |
Returns a string representation of this Color . |
Color getColor(String )
|
Documentation changed from old to new. |
Finds a color in the system properties. |
Color getColor(String, int)
|
Documentation changed from old to new. |
Finds a color in the system properties. |
Color getColor(String, Color)
|
Documentation changed from old to new. |
Finds a color in the system properties. |
float[] getColorComponents(float[] )
|
Documentation changed from old to new. |
Returns a float array containing only the color components of the Color in the ColorSpace of the Color . |
float[] getColorComponents(ColorSpace, float[])
|
Documentation changed from old to new. |
Returns a float array containing only the color components of the Color in the ColorSpace specified by the cspace parameter. |
float[] getComponents(float[] )
|
Documentation changed from old to new. |
Returns a float array containing the color and alpha components of the Color in the ColorSpace of the Color . |
float[] getComponents(ColorSpace, float[])
|
Documentation changed from old to new. |
Returns a float array containing the color and alpha components of the Color in the ColorSpace specified by the cspace parameter. |