public class CColor
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CColor() |
CColor(CColor theColor) |
CColor(int cfg,
int cbg,
int cactive,
int ccl,
int cvl) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getActive() |
int |
getAlpha() |
int |
getBackground() |
int |
getCaptionLabel() |
int |
getForeground() |
int |
getValueLabel() |
int |
hashCode() |
CColor |
setActive(int theColor) |
CColor |
setAlpha(int theAlpha) |
CColor |
setBackground(int theColor) |
CColor |
setCaptionLabel(int theColor) |
CColor |
setForeground(int theColor) |
CColor |
setValueLabel(int theColor) |
java.lang.String |
toString() |
public CColor()
public CColor(CColor theColor)
public CColor(int cfg, int cbg, int cactive, int ccl, int cvl)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int getActive()
public int getAlpha()
public int getBackground()
public int getCaptionLabel()
public int getForeground()
public int getValueLabel()
public int hashCode()
hashCode
in class java.lang.Object
public CColor setActive(int theColor)
public CColor setAlpha(int theAlpha)
theAlpha
- public CColor setBackground(int theColor)
public CColor setCaptionLabel(int theColor)
public CColor setForeground(int theColor)
public CColor setValueLabel(int theColor)
public java.lang.String toString()
toString
in class java.lang.Object
processing library controlP5 by Andreas Schlegel. (c) 2006-2015