- java.lang.Object
-
- com.lowagie.text.pdf.PdfObject
-
- com.lowagie.text.pdf.PdfDictionary
-
- com.lowagie.text.pdf.PdfShadingPattern
-
public class PdfShadingPattern extends PdfDictionary
Implements the shading pattern dictionary.- Author:
- Paulo Soares (psoares@consiste.pt)
-
-
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 float[]getMatrix()PdfShadinggetShading()voidsetMatrix(float[] matrix)-
Methods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
-
Methods inherited from class com.lowagie.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- Parameters:
shading- the shading
-
-
Method Detail
-
getMatrix
public float[] getMatrix()
-
setMatrix
public void setMatrix(float[] matrix)
-
getShading
public PdfShading getShading()
-
-