public class Color extends PrimitiveType<java.lang.Integer>
Constructor and Description |
---|
Color(java.lang.Integer value) |
Color(int r,
int g,
int b,
int a) |
Modifier and Type | Method and Description |
---|---|
int |
getAlpha()
Returns the alpha component of this color.
|
int |
getBlue()
Returns the blue component of this color.
|
int |
getGreen()
Returns the green component of this color.
|
int |
getRed()
Returns the red component of this color.
|
static Color |
valueOf(java.lang.String s)
Returns an
Color object holding the value of
the specified string. |
equals, getValue, toString
public Color(java.lang.Integer value)
public Color(int r, int g, int b, int a)
public static Color valueOf(java.lang.String s)
Color
object holding the value of
the specified string.s
- The string to be parsed.public int getRed()
public int getGreen()
public int getBlue()
public int getAlpha()
Copyright © 2014 Open Microscopy Environment