public class PatternPaintContext
extends java.lang.Object
implements java.awt.PaintContext
PaintContext
for the ConcretePatterPaint
paint implementation.Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.AffineTransform |
usr2dev |
Constructor and Description |
---|
PatternPaintContext(java.awt.image.ColorModel destCM,
java.awt.geom.AffineTransform usr2dev,
java.awt.RenderingHints hints,
Filter tile,
java.awt.geom.Rectangle2D patternRegion,
boolean overflow) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
java.awt.image.ColorModel |
getColorModel() |
java.awt.image.Raster |
getRaster(int x,
int y,
int width,
int height) |
java.awt.geom.AffineTransform |
getUsr2Dev() |
public PatternPaintContext(java.awt.image.ColorModel destCM, java.awt.geom.AffineTransform usr2dev, java.awt.RenderingHints hints, Filter tile, java.awt.geom.Rectangle2D patternRegion, boolean overflow)
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 tilepublic java.awt.geom.AffineTransform getUsr2Dev()
public void dispose()
dispose
in interface java.awt.PaintContext
public java.awt.image.ColorModel getColorModel()
getColorModel
in interface java.awt.PaintContext
public java.awt.image.Raster getRaster(int x, int y, int width, int height)
getRaster
in interface java.awt.PaintContext
Copyright © 2022 Apache Software Foundation. All Rights Reserved.