public class AwtColor
extends java.awt.Color
implements javajs.api.GenericColor
Modifier and Type | Field and Description |
---|---|
private int |
opacity |
Constructor and Description |
---|
AwtColor(int rgb) |
AwtColor(int r,
int g,
int b) |
AwtColor(int r,
int g,
int b,
int a) |
Modifier and Type | Method and Description |
---|---|
javajs.api.GenericColor |
get3(int r,
int g,
int b) |
javajs.api.GenericColor |
get4(int r,
int g,
int b,
int a) |
int |
getOpacity255() |
void |
setOpacity255(int a) |
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
public AwtColor(int rgb)
public AwtColor(int r, int g, int b)
public AwtColor(int r, int g, int b, int a)
public javajs.api.GenericColor get4(int r, int g, int b, int a)
public javajs.api.GenericColor get3(int r, int g, int b)
public int getOpacity255()
getOpacity255
in interface javajs.api.GenericColor
public void setOpacity255(int a)
setOpacity255
in interface javajs.api.GenericColor