Package org.apache.poi.sl.draw
Class PathGradientPaint.PathGradientContext
- java.lang.Object
-
- org.apache.poi.sl.draw.PathGradientPaint.PathGradientContext
-
- All Implemented Interfaces:
java.awt.PaintContext
- Enclosing class:
- PathGradientPaint
public class PathGradientPaint.PathGradientContext extends java.lang.Object implements java.awt.PaintContext
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Shapeshapefor POI: the shape will be only known when the subclasses determines the concrete implementation in the draw/-content method, so we need to postpone the setting/creation as long as possibleprotected java.awt.geom.AffineTransformxform
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.WritableRastercreateRaster()voiddispose()java.awt.image.ColorModelgetColorModel()java.awt.image.RastergetRaster(int xOffset, int yOffset, int w, int h)
-
-
-
Field Detail
-
xform
protected final java.awt.geom.AffineTransform xform
-
shape
protected final java.awt.Shape shape
for POI: the shape will be only known when the subclasses determines the concrete implementation in the draw/-content method, so we need to postpone the setting/creation as long as possible
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
disposein interfacejava.awt.PaintContext
-
getColorModel
public java.awt.image.ColorModel getColorModel()
- Specified by:
getColorModelin interfacejava.awt.PaintContext
-
getRaster
public java.awt.image.Raster getRaster(int xOffset, int yOffset, int w, int h)- Specified by:
getRasterin interfacejava.awt.PaintContext
-
createRaster
public java.awt.image.WritableRaster createRaster()
-
-