controlP5
Class CColor
java.lang.Object
controlP5.CColor
- All Implemented Interfaces:
- java.io.Serializable
public class CColor
- extends java.lang.Object
- implements java.io.Serializable
A CColor instance contains the colors of a controller including the foreground-, background-,
active-, captionlabel- and valuelabel-colors.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CColor
public CColor()
CColor
public CColor(CColor theColor)
CColor
public CColor(int cfg,
int cbg,
int cactive,
int ccl,
int cvl)
getActive
public int getActive()
getAlpha
public int getAlpha()
getBackground
public int getBackground()
getCaptionLabel
public int getCaptionLabel()
getForeground
public int getForeground()
getValueLabel
public int getValueLabel()
setActive
public CColor setActive(int theColor)
setBackground
public CColor setBackground(int theColor)
setCaptionLabel
public CColor setCaptionLabel(int theColor)
setForeground
public CColor setForeground(int theColor)
setValueLabel
public CColor setValueLabel(int theColor)
processing library controlP5 by Andreas Schlegel. (c) 2006-2012