Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
gnu.java.awt.java2d.AbstractGraphics2D
gnu.java.awt.java2d.RasterGraphics
public class RasterGraphics
extends AbstractGraphics2D
Field Summary |
Fields inherited from class gnu.java.awt.java2d.AbstractGraphics2D | |
HashMap , |
Constructor Summary | |
Method Summary | |
protected @Override | |
protected ColorModel |
|
protected WritableRaster |
|
GraphicsConfiguration | |
@Override |
|
Methods inherited from class java.awt.Graphics2D | |
addRenderingHints , clip , draw , draw3DRect , drawGlyphVector , drawImage , drawImage , drawRenderableImage , drawRenderedImage , drawString , drawString , drawString , drawString , fill , fill3DRect , getBackground , getComposite , getDeviceConfiguration , getFontRenderContext , getPaint , getRenderingHint , getRenderingHints , getStroke , getTransform , hit , rotate , rotate , scale , setBackground , setComposite , setPaint , setRenderingHint , setRenderingHints , setStroke , setTransform , shear , transform , translate , translate |
Methods inherited from class java.awt.Graphics | |
clearRect , clipRect , copyArea , create , create , dispose , draw3DRect , drawArc , drawBytes , drawChars , drawImage , drawImage , drawImage , drawImage , drawImage , drawImage , drawLine , drawOval , drawPolygon , drawPolygon , drawPolyline , drawRect , drawRoundRect , drawString , drawString , fill3DRect , fillArc , fillOval , fillPolygon , fillPolygon , fillRect , fillRoundRect , finalize , getClip , getClipBounds , getClipBounds , getClipRect , getColor , getFont , getFontMetrics , getFontMetrics , hitClip , setClip , setClip , setColor , setFont , setPaintMode , setXORMode , toString , translate |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
protected ColorModel getColorModel()
Returns the color model of this Graphics object.
- Overrides:
- getColorModel in interface AbstractGraphics2D
- Returns:
- the color model of this Graphics object
protected WritableRaster getDestinationRaster()
Returns a WritableRaster that is used by this class to perform the rendering in. It is not necessary that the target surface immediately reflects changes in the raster. Updates to the raster are notified viaAbstractGraphics2D.updateRaster(Raster,int,int,int,int)
.
- Overrides:
- getDestinationRaster in interface AbstractGraphics2D
- Returns:
- the destination raster
public GraphicsConfiguration getDeviceConfiguration()
- Overrides:
- getDeviceConfiguration in interface Graphics2D