public class Shading extends Element
A shading pattern defines a gradient fill in a graphic that produces a smooth transition between colors across the area covered by the graphic area. The "sh" paint operator is invoked for the shading object. This does not correspond to a shading dictionary within a PDF pattern. Refer to the Pattern object for shading dictionaries used in PDF patterns.
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
ColorSpace |
getColorSpace()
Get the ColorSpace of the current Shading object.
|
GraphicState |
getGraphicState()
Get the graphic state of the current Shading object.
|
public ColorSpace getColorSpace()
public GraphicState getGraphicState()
May return null if this element does not have a GraphicState.