CSE115.Graphics
Class FilledFish
java.lang.Object
|
+--NGP.Graphics.Shape
|
+--NGP.Graphics.RectangularShape
|
+--NGP.Graphics.FilledRectangularShape
|
+--CSE115.Graphics.FilledFish
- All Implemented Interfaces:
- Colorable, EventListener, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable
- public class FilledFish
- extends FilledRectangularShape
An NGP-style filled fish shape.
- Author:
- Carl Alphonce
Modified from FilledTriangle code by Phil Ventura
Methods inherited from class NGP.Graphics.Shape |
contains, drag, getBounds, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, react, setColor, setDrawingPanel, setRotation, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilledFish
public FilledFish(DrawingPanel dp)
- Creates a new
FilledFish
with the specified
DrawingPanel.
- Parameters:
dp
- the DrawingPanel for this FilledFish.