|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Renderable2D interface defines the basic interface for 2d animation. This
is a hard-to-use interface. It is implemented by the easy-to-use Renderable2D
class
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Nested Class Summary | |
static class |
Renderable2DInterface.Util
A Util (c) copyright 2003 Delft University of Technology , the Netherlands. |
| Method Summary | |
boolean |
contains(java.awt.geom.Point2D pointWorldCoordinates,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen)
does the shape contain the point |
void |
destroy()
destroys this editable. |
LocatableInterface |
getSource()
gets the source of this renderable |
void |
paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen,
java.awt.image.ImageObserver observer)
paints the object on a 2D graphics object |
| Method Detail |
public void paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen,
java.awt.image.ImageObserver observer)
graphics - the graphics objectextent - the extent of the panelscreen - the screen of the panelobserver - the observer of the renderableInterfacepublic LocatableInterface getSource()
public boolean contains(java.awt.geom.Point2D pointWorldCoordinates,
java.awt.geom.Rectangle2D extent,
java.awt.Dimension screen)
pointWorldCoordinates - the point in world coordinates. Default
implementation is to intersect the 3D bounds on location.z and to
return the bounds2D of this intersect.extent - the extent of the panel.screen - the screen of the panel.
public void destroy()
throws java.rmi.RemoteException
java.rmi.RemoteException - RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||