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
-
white
-
WHITE
-
lightGray
-
LIGHT_GRAY
-
gray
-
GRAY
-
darkGray
-
DARK_GRAY
-
black
-
BLACK
-
red
-
RED
-
pink
-
PINK
-
orange
-
ORANGE
-
yellow
-
YELLOW
-
green
-
GREEN
-
magenta
-
MAGENTA
-
cyan
-
CYAN
-
blue
-
BLUE
-
-
Constructor Details
-
Color
public Color(int r, int g, int b, int a) -
Color
public Color(int r, int g, int b)
-
-
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
-