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 TypeMethodDescriptionaddAlpha(int a) static GenericColorget1(int rgb) static GenericColorget3(int r, int g, int b) static GenericColorget4(int r, int g, int b, int a) intintgetRGB()toString()
-
Field Details
-
argb
public int argb
-
-
Constructor Details
-
Color
public Color()
-
-
Method Details
-
addAlpha
- Specified by:
addAlphain interfaceGenericColor
-
getRGB
public int getRGB()- Specified by:
getRGBin interfaceGenericColor
-
getOpacity255
public int getOpacity255()- Specified by:
getOpacity255in interfaceGenericColor
-
get1
-
get3
-
get4
-
toString
-