Class DrawableShape

java.lang.Object
  extended by DrawableShape

public abstract class DrawableShape
extends java.lang.Object

An abstract class representing a Shape that can be drawn.

Version:
Jan 2013
Author:
Joel Ross

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

DrawableShape

public DrawableShape()
Method Detail

draw

public abstract void draw(java.awt.Graphics2D g2d)

getColorFromString

protected java.awt.Color getColorFromString(java.lang.String c)