Class Color
java.lang.Object
org.graphstream.ui.graphicGraph.stylesheet.Color
public class Color extends Object
GraphStream representation of Color Usable by all UI
-
Field Summary
Fields Modifier and Type Field Description static Colorblackstatic ColorBLACKstatic Colorbluestatic ColorBLUEstatic Colorcyanstatic ColorCYANstatic ColorDARK_GRAYstatic ColordarkGraystatic Colorgraystatic ColorGRAYstatic Colorgreenstatic ColorGREENstatic ColorLIGHT_GRAYstatic ColorlightGraystatic Colormagentastatic ColorMAGENTAstatic Colororangestatic ColorORANGEstatic Colorpinkstatic ColorPINKstatic Colorredstatic ColorREDstatic Colorwhitestatic ColorWHITEstatic Coloryellowstatic ColorYELLOW -
Constructor Summary
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
getRed
public int getRed() -
setRed
public void setRed(int r) -
getGreen
public int getGreen() -
setGreen
public void setGreen(int g) -
getBlue
public int getBlue() -
setBlue
public void setBlue(int b) -
getAlpha
public int getAlpha() -
setAlpha
public void setAlpha(int a) -
decode
- Throws:
NumberFormatException
-
equals
-