CSE115.Graphics
Class FramedTriangle
java.lang.Object
NGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FramedRectangularShape
CSE115.Graphics.FramedTriangle
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, EventListener, Colorable, Graphic, Locatable, Reactor, Rotatable, Sizeable
public class FramedTriangle
- extends FramedRectangularShape
An NGP-style framed triangle.
- Author:
- Phil Ventura
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 |
FramedTriangle
public FramedTriangle(DrawingPanel dp)
- Creates a new
FramedTriangle
with the specified
DrawingPanel.
- Parameters:
dp
- the DrawingPanel for this FramedTriangle.