| Modifier and Type | Field and Description |
|---|---|
| private float[] | |
| private ColorModel | |
| private int | |
| private final PDShading | |
| private PDColorSpace |
| Access | Constructor and Description |
|---|---|
| public | ShadingContext(PDShading
the shading type to be used shading, ColorModel the color model to be used cm, AffineTransform transformation for user to device space xform, Matrix the pattern matrix concatenated with that of the parent content stream matrix)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final int | Returns: RGB values encoded in an integer.color values in shading colorspace. values)Convert color values from shading colorspace to RGB color values encoded into an integer. |
| public void | dispose()
Implements java. Releases the resources allocated for the operation. |
| pack-priv float[] | |
| public ColorModel | getColorModel()
Implements java. Returns the |
| pack-priv int | |
| pack-priv PDShading | |
| pack-priv PDColorSpace |
| background | back to summary |
|---|---|
| private float[] background | |
| outputColorModel | back to summary |
|---|---|
| private ColorModel outputColorModel | |
| rgbBackground | back to summary |
|---|---|
| private int rgbBackground | |
| shading | back to summary |
|---|---|
| private final PDShading shading | |
| shadingColorSpace | back to summary |
|---|---|
| private PDColorSpace shadingColorSpace | |
| ShadingContext | back to summary |
|---|---|
| public ShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) throws IOException Constructor.
| |
| convertToRGB | back to summary |
|---|---|
| pack-priv final int convertToRGB(float[] values) throws IOException Convert color values from shading colorspace to RGB color values encoded into an integer.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements java. Doc from java. Releases the resources allocated for the operation.
| |
| getBackground | back to summary |
|---|---|
| pack-priv float[] getBackground() | |
| getColorModel | back to summary |
|---|---|
| public ColorModel getColorModel() Implements java. Doc from java. Returns the
| |
| getRgbBackground | back to summary |
|---|---|
| pack-priv int getRgbBackground() | |
| getShading | back to summary |
|---|---|
| pack-priv PDShading getShading() | |
| getShadingColorSpace | back to summary |
|---|---|
| pack-priv PDColorSpace getShadingColorSpace() | |