AxialShadingContext
, RadialShadingContext
public abstract class ShadingContext
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected PDRectangle |
bboxRect |
|
protected PDColorSpace |
colorSpace |
|
protected java.awt.Rectangle |
deviceBounds |
|
protected float |
maxBBoxX |
|
protected float |
maxBBoxY |
|
protected float |
minBBoxX |
|
protected float |
minBBoxY |
|
protected java.awt.image.ColorModel |
outputColorModel |
|
protected PDShadingResources |
shading |
|
protected java.awt.color.ColorSpace |
shadingColorSpace |
|
protected PDFunction |
shadingTinttransform |
Constructor | Description |
---|---|
ShadingContext(PDShadingResources shading,
java.awt.image.ColorModel cm,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight,
java.awt.Rectangle dBounds) |
Modifier and Type | Method | Description |
---|---|---|
protected int |
convertToRGB(float[] values) |
|
PDFunction |
getShadingTintTransform() |
Returns the function used for the shading tint transformation.
|
protected final PDShadingResources shading
protected final java.awt.Rectangle deviceBounds
protected java.awt.color.ColorSpace shadingColorSpace
protected PDColorSpace colorSpace
protected PDRectangle bboxRect
protected float minBBoxX
protected float minBBoxY
protected float maxBBoxX
protected float maxBBoxY
protected java.awt.image.ColorModel outputColorModel
protected PDFunction shadingTinttransform
public ShadingContext(PDShadingResources shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix ctm, int pageHeight, java.awt.Rectangle dBounds) throws java.io.IOException
java.io.IOException
protected int convertToRGB(float[] values)
public PDFunction getShadingTintTransform()