public abstract class ShadingContext extends Object
Modifier and Type | Field and Description |
---|---|
protected PDRectangle |
bboxRect |
protected float |
maxBBoxX |
protected float |
maxBBoxY |
protected float |
minBBoxX |
protected float |
minBBoxY |
Constructor and Description |
---|
ShadingContext(PDShading shading,
ColorModel cm,
AffineTransform xform,
Matrix matrix)
Constructor.
|
protected PDRectangle bboxRect
protected float minBBoxX
protected float minBBoxY
protected float maxBBoxX
protected float maxBBoxY
public ShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) throws IOException
shading
- the shading type to be usedcm
- the color model to be usedxform
- transformation for user to device spacematrix
- the pattern matrix concatenated with that of the parent content streamIOException
- if there is an error getting the color space
or doing background color conversion.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.