org.opensourcephysics.display
Interface Renderable

All Known Implementing Classes:
DrawingPanel, DrawingPanel3D, FrameApplet, InteractivePanel, PlottingPanel, VideoPanel

public interface Renderable

Renderable objects draw themselves onscreen onto an image in the calling thread.

Version:
1.0
Author:
Wolfgang Christian

Method Summary
 java.awt.image.BufferedImage render()
          Renders a representation of the object onscreen.
 java.awt.image.BufferedImage render(java.awt.image.BufferedImage image)
          Renders a representation of the object onto an image.
 

Method Detail

render

java.awt.image.BufferedImage render()
Renders a representation of the object onscreen.


render

java.awt.image.BufferedImage render(java.awt.image.BufferedImage image)
Renders a representation of the object onto an image.

Parameters:
image -
Returns:
the image buffer