GP
Interface Colorable
- All Known Subinterfaces:
- Container, Graphic
- public interface Colorable
This defines the interface for all objects that have the concept
of color associated with them.
Method Summary |
Color |
GetColor()
This method should return the current color of the object |
void |
SetColor(Color color)
This method should set the current color of the object. |
SetColor
public void SetColor(Color color)
- This method should set the current color of the object.
- Parameters:
color
- the new color
GetColor
public Color GetColor()
- This method should return the current color of the object
- Returns:
- the current color of the object