Class Color
java.lang.Object
org.htmlunit.html.impl.Color
Our own implementation of color to be
independent of awt (for this).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
red_
private final int red_ -
green_
private final int green_ -
blue_
private final int blue_ -
alpha_
private final int alpha_
-
-
Constructor Details
-
Color
public Color(int red, int green, int blue) -
Color
public Color(int red, int green, int blue, int alpha)
-
-
Method Details
-
getRed
public int getRed() -
getGreen
public int getGreen() -
getBlue
public int getBlue() -
getAlpha
public int getAlpha() -
hashCode
-
equals
-