public abstract class ShadingContext extends Object
Modifier and Type | Field and Description |
---|---|
protected PDRectangle |
bboxRect |
protected PDColorSpace |
colorSpace |
protected Rectangle |
deviceBounds |
protected float |
maxBBoxX |
protected float |
maxBBoxY |
protected float |
minBBoxX |
protected float |
minBBoxY |
protected ColorModel |
outputColorModel |
protected PDShadingResources |
shading |
protected ColorSpace |
shadingColorSpace |
protected PDFunction |
shadingTinttransform |
Constructor and Description |
---|
ShadingContext(PDShadingResources shading,
ColorModel cm,
AffineTransform xform,
Matrix ctm,
int pageHeight,
Rectangle dBounds) |
Modifier and Type | Method and Description |
---|---|
protected int |
convertToRGB(float[] values) |
PDFunction |
getShadingTintTransform()
Returns the function used for the shading tint transformation.
|
protected final PDShadingResources shading
protected final Rectangle deviceBounds
protected ColorSpace shadingColorSpace
protected PDColorSpace colorSpace
protected PDRectangle bboxRect
protected float minBBoxX
protected float minBBoxY
protected float maxBBoxX
protected float maxBBoxY
protected ColorModel outputColorModel
protected PDFunction shadingTinttransform
public ShadingContext(PDShadingResources shading, ColorModel cm, AffineTransform xform, Matrix ctm, int pageHeight, Rectangle dBounds) throws IOException
IOException
protected int convertToRGB(float[] values)
public PDFunction getShadingTintTransform()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.