Package com.itextpdf.text.pdf
Class PdfShadingPattern
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfObject
-
- com.itextpdf.text.pdf.PdfDictionary
-
- com.itextpdf.text.pdf.PdfShadingPattern
-
- All Implemented Interfaces:
java.io.Serializable
public class PdfShadingPattern extends PdfDictionary
Implements the shading pattern dictionary.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]matrixprotected PdfNamepatternNameprotected PdfIndirectReferencepatternReferenceprotected PdfShadingshadingprotected PdfWriterwriter
-
Constructor Summary
Constructors Constructor Description PdfShadingPattern(PdfShading shading)Creates new PdfShadingPattern
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToBody()(package private) ColorDetailsgetColorDetails()float[]getMatrix()(package private) PdfNamegetPatternName()(package private) PdfIndirectReferencegetPatternReference()PdfShadinggetShading()(package private) PdfNamegetShadingName()(package private) PdfIndirectReferencegetShadingReference()voidsetMatrix(float[] matrix)(package private) voidsetName(int number)-
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
-
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, 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
public void addToBody() throws java.io.IOException- Throws:
java.io.IOException
-
setMatrix
public void setMatrix(float[] matrix)
-
getMatrix
public float[] getMatrix()
-
getShading
public PdfShading getShading()
-
getColorDetails
ColorDetails getColorDetails()
-
-