FileDocCategorySizeDatePackage
DoubleBuffer.javaAPI DocExample1319Mon Jun 01 01:00:00 BST 1998None

DoubleBuffer

public class DoubleBuffer extends Object

Fields Summary
private Image
m_imgBuff
private Graphics
m_gBuff
private Rectangle
m_rect
private Applet
m_app
Constructors Summary
DoubleBuffer(Applet app, Rectangle rect)

		m_rect = rect;
		m_app = app;

		// build a buffer for the off-screen image
		m_imgBuff = m_app.createImage(rect.width,rect.height);
		m_gBuff = m_imgBuff.getGraphics();
	
Methods Summary
public java.awt.GraphicsgetGraphics()

 return m_gBuff; 
public java.awt.ImagegetImage()

 return m_imgBuff; 
public java.awt.RectanglegetSize()

 return m_rect;