Package org.jmol.awtjs.swing
Class Color
java.lang.Object
org.jmol.awtjs.swing.Color
- All Implemented Interfaces:
GenericColor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericColor
get1
(int rgb) static GenericColor
get3
(int r, int g, int b) static GenericColor
get4
(int r, int g, int b, int a) int
int
getRGB()
void
setOpacity255
(int a) toString()
-
Field Details
-
argb
public int argb
-
-
Constructor Details
-
Color
public Color()
-
-
Method Details
-
getRGB
public int getRGB()- Specified by:
getRGB
in interfaceGenericColor
-
getOpacity255
public int getOpacity255()- Specified by:
getOpacity255
in interfaceGenericColor
-
setOpacity255
public void setOpacity255(int a) - Specified by:
setOpacity255
in interfaceGenericColor
-
get1
-
get3
-
get4
-
toString
-