|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.GraphStyler.Color
public class GraphStyler.Color
Generic chart color
Constructor Summary | |
---|---|
GraphStyler.Color(int red,
int green,
int blue)
Generates a new color from RGB values |
|
GraphStyler.Color(java.lang.String hexColor)
Generates a new color from the hex value |
Method Summary | |
---|---|
int |
getBlue()
Return the color blue value |
int |
getGreen()
Return the color green value |
java.lang.String |
getHexString()
Return the hex value of this color |
GraphStyler.Color |
getModifyColor(int delta)
Return a new darker or brighter color |
GraphStyler.Color |
getNegativeColor()
Return the corresponding negative color |
int |
getRed()
Return the color red value |
void |
setHexColor(java.lang.String hexColor)
Change the color hex value |
void |
setRGBColor(int red,
int green,
int blue)
Change the color RGB values |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphStyler.Color(java.lang.String hexColor)
hexColor
- the hex or html color (example: #000000)public GraphStyler.Color(int red, int green, int blue)
Method Detail |
---|
public java.lang.String getHexString()
public GraphStyler.Color getModifyColor(int delta)
delta
- the increase (positive) or decrease (negative) value applied to each color channelpublic GraphStyler.Color getNegativeColor()
public int getRed()
public int getGreen()
public int getBlue()
public void setRGBColor(int red, int green, int blue)
public void setHexColor(java.lang.String hexColor)
hexColor
- the hex or html color (example: #000000)
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |