public class ColorControlBox extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
visible |
| Constructor and Description |
|---|
ColorControlBox(String context,
ColorMode mode,
ArrayList<Handle> handles) |
| Modifier and Type | Method and Description |
|---|---|
void |
colorChanged() |
void |
draw(Graphics2D g2d) |
int |
getCharIndex() |
Color |
getCurrentColor() |
int |
getLine() |
int |
getTabIndex() |
void |
initInterface(JavaTextAreaPainter textAreaPainter,
int x,
int y,
int w,
int h) |
boolean |
isGrayScale() |
boolean |
pick(int mx,
int my) |
void |
selectorChanged(int hue,
int saturation,
int brightness) |
boolean |
setMouseY(int my) |
void |
setPos(int x,
int y) |
String |
toString() |
Color |
verifiedHSBColor(float h,
float s,
float b,
float a) |
Color |
verifiedRGBColor(float r,
float g,
float b,
float a) |
public void initInterface(JavaTextAreaPainter textAreaPainter, int x, int y, int w, int h)
public void setPos(int x,
int y)
public void draw(Graphics2D g2d)
public boolean isGrayScale()
public Color getCurrentColor()
public Color verifiedRGBColor(float r, float g, float b, float a)
public Color verifiedHSBColor(float h, float s, float b, float a)
public void colorChanged()
public int getTabIndex()
public int getLine()
public int getCharIndex()
public boolean pick(int mx,
int my)
public boolean setMouseY(int my)
public void selectorChanged(int hue,
int saturation,
int brightness)
Copyright © 2001–2017 Processing Foundation. All rights reserved.