Package com.incors.plaf
Class FastGradientPaintContext
java.lang.Object
com.incors.plaf.FastGradientPaintContext
- All Implemented Interfaces:
java.awt.PaintContext
class FastGradientPaintContext
extends java.lang.Object
implements java.awt.PaintContext
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
FastGradientPaintContext.Gradient
private class
FastGradientPaintContext.GradientInfo
-
Field Summary
Fields Modifier and Type Field Description (package private) FastGradientPaintContext.Gradient
gradient
private static java.util.WeakHashMap
gradientCache
(package private) FastGradientPaintContext.GradientInfo
info
(package private) int
parallelDevicePos
private static java.util.LinkedList<FastGradientPaintContext.GradientInfo>
recentInfos
-
Constructor Summary
Constructors Constructor Description FastGradientPaintContext(java.awt.image.ColorModel cm, java.awt.Rectangle r, int sc, int ec, boolean ver)
-
Method Summary
Modifier and Type Method Description void
dispose()
java.awt.image.ColorModel
getColorModel()
java.awt.image.Raster
getRaster(int x, int y, int w, int h)
-
Field Details
-
gradientCache
private static java.util.WeakHashMap gradientCache -
recentInfos
-
info
-
parallelDevicePos
int parallelDevicePos -
gradient
FastGradientPaintContext.Gradient gradient
-
-
Constructor Details
-
FastGradientPaintContext
FastGradientPaintContext(java.awt.image.ColorModel cm, java.awt.Rectangle r, int sc, int ec, boolean ver)
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfacejava.awt.PaintContext
-
getColorModel
public java.awt.image.ColorModel getColorModel()- Specified by:
getColorModel
in interfacejava.awt.PaintContext
-
getRaster
public java.awt.image.Raster getRaster(int x, int y, int w, int h)- Specified by:
getRaster
in interfacejava.awt.PaintContext
-