javalib.colors
Class Red
java.lang.Object
javalib.colors.Red
- All Implemented Interfaces:
- IColor
public class Red
- extends Object
- implements IColor
To represent the red color -- in the style of
ProfessorJ draw
package.
- Since:
- March 12, 2008
- Author:
- Viera K. Proulx
Constructor Summary |
Red()
|
Method Summary |
Color |
thisColor()
Provide the Color represented by this class |
String |
toString()
Produce a String representation of this color |
Red
public Red()
thisColor
public Color thisColor()
- Provide the
Color
represented by this class
- Specified by:
thisColor
in interface IColor
- Returns:
- black color
toString
public String toString()
- Produce a
String
representation of this color
- Overrides:
toString
in class Object