AxialShadingContext
, RadialShadingContext
public abstract class ShadingContext
extends java.lang.Object
Constructor | Description |
---|---|
ShadingContext(PDShading shading,
java.awt.image.ColorModel cm,
java.awt.geom.AffineTransform xform,
Matrix matrix) |
Constructor.
|
public ShadingContext(PDShading shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix) throws java.io.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 streamjava.io.IOException
- if there is an error getting the color space
or doing background color conversion.Copyright © 2002–2018. All rights reserved.