net.sf.jame.core.util
Class Surface
java.lang.Object
net.sf.jame.core.util.Surface
public class Surface
- extends java.lang.Object
- Author:
- Andrea Medeghini
|
Constructor Summary |
Surface(java.awt.image.BufferedImage image)
|
Surface(int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TYPE
public static int DEFAULT_TYPE
Surface
public Surface(int width,
int height)
- Parameters:
width - height -
Surface
public Surface(java.awt.image.BufferedImage image)
- Parameters:
image -
getHeight
public int getHeight()
- Returns:
getWidth
public int getWidth()
- Returns:
getImage
public java.awt.image.BufferedImage getImage()
- Returns:
- the image
getGraphics2D
public java.awt.Graphics2D getGraphics2D()
- Returns:
- the graphics
dispose
public void dispose()
disposeGraphics
public void disposeGraphics()