Package org.apache.poi.sl.draw
Class PathGradientPaint.PathGradientContext
- java.lang.Object
-
- org.apache.poi.sl.draw.PathGradientPaint.PathGradientContext
-
- All Implemented Interfaces:
PaintContext
- Enclosing class:
- PathGradientPaint
public class PathGradientPaint.PathGradientContext extends Object implements PaintContext
-
-
Field Summary
Fields Modifier and Type Field Description protected 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 possibleprotected AffineTransform
xform
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WritableRaster
createRaster()
void
dispose()
ColorModel
getColorModel()
Raster
getRaster(int xOffset, int yOffset, int w, int h)
-
-
-
Field Detail
-
xform
protected final AffineTransform xform
-
shape
protected final 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:
dispose
in interfacePaintContext
-
getColorModel
public ColorModel getColorModel()
- Specified by:
getColorModel
in interfacePaintContext
-
getRaster
public Raster getRaster(int xOffset, int yOffset, int w, int h)
- Specified by:
getRaster
in interfacePaintContext
-
createRaster
public WritableRaster createRaster()
-
-