|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IColor
An interface to add a color property to various robot entities.
| Method Summary | |
|---|---|
Color |
getColor()
Return this object's current color. |
double |
getTransparency()
Get this object's current transparency. |
void |
setColor(Color aColor)
Set the color for this object |
void |
setTransparency(double trans)
Set the transparency for this object; that is, the degree to which it permits objects under it show through. |
| Method Detail |
|---|
Color getColor()
void setColor(Color aColor)
aColor - the new color.double getTransparency()
void setTransparency(double trans)
trans - A number between 0.0 (fully opaque) and 1.0 (fully transparent).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||