Package com.incors.plaf
Class FastGradientPaintContext.Gradient
java.lang.Object
com.incors.plaf.FastGradientPaintContext.Gradient
- Enclosing class:
- FastGradientPaintContext
private class FastGradientPaintContext.Gradient
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.HashMap<java.lang.Integer,java.awt.image.Raster>
childRasterCache
(package private) FastGradientPaintContext.GradientInfo
info
(package private) int
perpendicularLength
(package private) java.awt.image.WritableRaster
raster
-
Constructor Summary
Constructors Constructor Description Gradient(FastGradientPaintContext.GradientInfo i)
-
Method Summary
Modifier and Type Method Description private void
createRaster(int perpendicularLength)
void
dispose()
private java.awt.image.Raster
getRaster(int parallelPos, int perpendicularLength, int parallelLength)
-
Field Details
-
info
-
perpendicularLength
int perpendicularLength -
raster
java.awt.image.WritableRaster raster -
childRasterCache
java.util.HashMap<java.lang.Integer,java.awt.image.Raster> childRasterCache
-
-
Constructor Details
-
Gradient
Gradient(FastGradientPaintContext.GradientInfo i)
-
-
Method Details
-
getRaster
private java.awt.image.Raster getRaster(int parallelPos, int perpendicularLength, int parallelLength) -
dispose
public void dispose() -
createRaster
private void createRaster(int perpendicularLength)
-