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