|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorableINF
Method Summary | |
---|---|
int |
fillColor()
|
int |
fillOpacity()
|
boolean |
hasFill()
|
boolean |
hasStroke()
|
void |
setFillColor(int newFillColor)
Sets the current fill color. |
void |
setFillOpacity(int opacity)
Sets opacity of current fill color. |
void |
setNoFill()
Marks this component as having no fill. |
void |
setNoStroke()
Marks this component as having no stroke Equivalent to setHasStroke(false), if the implementor provides a setHasStroke method |
void |
setStrokeColor(int newStrokeColor)
Sets the current stroke color. |
void |
setStrokeOpacity(int opacity)
Sets opacity of current stroke color. |
void |
setWeight(float newWeight)
|
int |
strokeColor()
|
int |
strokeOpacity()
|
float |
weight()
Returns the current weight (in points) of stroked lines. |
Method Detail |
---|
boolean hasFill()
void setNoFill()
boolean hasStroke()
void setNoStroke()
int fillColor()
void setFillColor(int newFillColor)
newFillColor
- a Processing color (32-bit int with ARGB bytes).int strokeColor()
void setStrokeColor(int newStrokeColor)
newStrokeColor
- a Processing color (32-bit int with ARGB bytes).void setFillOpacity(int opacity)
opacity
- a number in the range 0..255. Value is not checked!int fillOpacity()
void setStrokeOpacity(int opacity)
opacity
- a number in the range 0..255. Value is not checked!int strokeOpacity()
float weight()
void setWeight(float newWeight)
newWeight
- the new weight of stroked lines.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |