Class PdfShadingPattern
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfShadingPattern
-
public class PdfShadingPattern extends PdfDictionary
Implements the shading pattern dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
matrix
protected PdfName
patternName
protected PdfIndirectReference
patternReference
protected PdfShading
shading
protected PdfWriter
writer
-
Constructor Summary
Constructors Constructor Description PdfShadingPattern(PdfShading shading)
Creates new PdfShadingPattern
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addToBody()
(package private) ColorDetails
getColorDetails()
float[]
getMatrix()
(package private) PdfName
getPatternName()
(package private) PdfIndirectReference
getPatternReference()
(package private) PdfShading
getShading()
(package private) PdfName
getShadingName()
(package private) PdfIndirectReference
getShadingReference()
void
setMatrix(float[] matrix)
(package private) void
setName(int number)
-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf
-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
-
-
-
-
Field Detail
-
shading
protected PdfShading shading
-
writer
protected PdfWriter writer
-
matrix
protected float[] matrix
-
patternName
protected PdfName patternName
-
patternReference
protected PdfIndirectReference patternReference
-
-
Constructor Detail
-
PdfShadingPattern
public PdfShadingPattern(PdfShading shading)
Creates new PdfShadingPattern
-
-
Method Detail
-
getPatternName
PdfName getPatternName()
-
getShadingName
PdfName getShadingName()
-
getPatternReference
PdfIndirectReference getPatternReference()
-
getShadingReference
PdfIndirectReference getShadingReference()
-
setName
void setName(int number)
-
addToBody
void addToBody() throws java.io.IOException
- Throws:
java.io.IOException
-
setMatrix
public void setMatrix(float[] matrix)
-
getMatrix
public float[] getMatrix()
-
getShading
PdfShading getShading()
-
getColorDetails
ColorDetails getColorDetails()
-
-