java.lang.Object
org.apache.batik.gvt.PatternPaintContext
- All Implemented Interfaces:
- java.awt.PaintContext
- public class PatternPaintContext
- extends java.lang.Object
- implements java.awt.PaintContext
PaintContext for the ConcretePatterPaint
paint implementation.
- Version:
- $Id: PatternPaintContext.java,v 1.14 2005/03/27 08:58:34 cam Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rasterCM
private java.awt.image.ColorModel rasterCM
- ColorModel for the Rasters created by this Paint
raster
private java.awt.image.WritableRaster raster
- Working Raster
tiled
private java.awt.image.RenderedImage tiled
- Tile
usr2dev
protected java.awt.geom.AffineTransform usr2dev
EVERYTHING
private static java.awt.Rectangle EVERYTHING
PatternPaintContext
public PatternPaintContext(java.awt.image.ColorModel destCM,
java.awt.geom.AffineTransform usr2dev,
java.awt.RenderingHints hints,
org.apache.batik.ext.awt.image.renderable.Filter tile,
java.awt.geom.Rectangle2D patternRegion,
boolean overflow)
getUsr2Dev
public java.awt.geom.AffineTransform getUsr2Dev()
dispose
public void dispose()
- Description copied from interface:
java.awt.PaintContext
- Release the resources allocated for the paint.
- Specified by:
dispose in interface java.awt.PaintContext
getColorModel
public java.awt.image.ColorModel getColorModel()
- Description copied from interface:
java.awt.PaintContext
- Return the color model of this context. It may be different from the
hint specified during createContext, as not all contexts can generate
color patterns in an arbitrary model.
- Specified by:
getColorModel in interface java.awt.PaintContext
getRaster
public java.awt.image.Raster getRaster(int x,
int y,
int width,
int height)
- Description copied from interface:
java.awt.PaintContext
- Return a raster containing the colors for the graphics operation.
- Specified by:
getRaster in interface java.awt.PaintContext