public static class PdfPattern.Shading extends PdfPattern
PdfPattern.Shading, PdfPattern.Tiling| Constructor and Description |
|---|
Shading(AbstractPdfShading shading)
Creates a new instance of Shading Pattern.
|
Shading(PdfDictionary pdfObject)
Creates new instance from the
PdfStream object. |
| Modifier and Type | Method and Description |
|---|---|
PdfDictionary |
getShading()
Gets the dictionary of the pattern's
AbstractPdfShading. |
void |
setShading(AbstractPdfShading shading)
Sets the
AbstractPdfShading that specifies the details of a particular gradient fill. |
void |
setShading(PdfDictionary shading)
Sets the dictionary which specifies the details of a particular gradient fill.
|
flush, getMatrix, getPatternInstance, isWrappedObjectMustBeIndirect, setMatrixensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic Shading(PdfDictionary pdfObject)
PdfStream object.
This stream should have PatternType equals to 2.pdfObject - the PdfStream that represents Shading Pattern.public Shading(AbstractPdfShading shading)
shading - the AbstractPdfShading that specifies the details of a particular
gradient fillpublic PdfDictionary getShading()
AbstractPdfShading.AbstractPdfShadingpublic void setShading(AbstractPdfShading shading)
AbstractPdfShading that specifies the details of a particular gradient fill.shading - the AbstractPdfShading that specifies the details of a particular gradient fillpublic void setShading(PdfDictionary shading)
shading - the dictionary of the pattern's AbstractPdfShadingCopyright © 1998–2024 Apryse Group NV. All rights reserved.