org.apache.batik.gvt
Class PatternPaintContext
java.lang.Object
org.apache.batik.gvt.PatternPaintContext
- All Implemented Interfaces:
- PaintContext
public class PatternPaintContext
- extends Object
- implements PaintContext
PaintContext
for the ConcretePatterPaint
paint implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
usr2dev
protected AffineTransform usr2dev
PatternPaintContext
public PatternPaintContext(ColorModel destCM,
AffineTransform usr2dev,
RenderingHints hints,
Filter tile,
Rectangle2D patternRegion,
boolean overflow)
- Parameters:
destCM
- ColorModel that receives the paint datausr2dev
- user space to device space transformhints
- RenderingHintspatternRegion
- region tiled by this paint. In user space.overflow
- controls whether the pattern region clips the
pattern tile
getUsr2Dev
public AffineTransform getUsr2Dev()
dispose
public void dispose()
- Specified by:
dispose
in interface PaintContext
getColorModel
public ColorModel getColorModel()
- Specified by:
getColorModel
in interface PaintContext
getRaster
public Raster getRaster(int x,
int y,
int width,
int height)
- Specified by:
getRaster
in interface PaintContext
Copyright © 2017 Apache Software Foundation. All Rights Reserved.