java.lang.ObjectDrawableShape
public abstract class DrawableShape
An abstract class representing a Shape that can be drawn.
Constructor Summary | |
---|---|
DrawableShape()
|
Method Summary | |
---|---|
abstract void |
draw(java.awt.Graphics2D g2d)
|
protected java.awt.Color |
getColorFromString(java.lang.String c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawableShape()
Method Detail |
---|
public abstract void draw(java.awt.Graphics2D g2d)
protected java.awt.Color getColorFromString(java.lang.String c)