NGP.Graphics
Class FramedRectangle
java.lang.Object
NGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FramedRectangularShape
NGP.Graphics.FramedRectangle
- All Implemented Interfaces:
- Colorable, EventListener, Graphic, Locatable, MouseListener, MouseMotionListener, Reactor, Rotatable, Sizeable
- public class FramedRectangle
- extends FramedRectangularShape
A framed rectangular shape (for rectangles and squares)
- Author:
- Matt Chotin (mhc)
Methods inherited from class NGP.Graphics.Shape |
contains, drag, 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 |
FramedRectangle
public FramedRectangle(DrawingPanel dp)
- Create a Rectangle with the specified DrawingPanel
- Parameters:
dp
- the DrawingPanel for this Rectangle