Package com.aowagie.text.pdf
Class PdfShadingPattern
- java.lang.Object
-
- com.aowagie.text.pdf.PdfObject
-
- com.aowagie.text.pdf.PdfDictionary
-
- com.aowagie.text.pdf.PdfShadingPattern
-
public class PdfShadingPattern extends PdfDictionary
Implements the shading pattern dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private float[]
matrix
private PdfName
patternName
private PdfIndirectReference
patternReference
private PdfShading
shading
private PdfWriter
writer
-
Fields inherited from class com.aowagie.text.pdf.PdfDictionary
CATALOG, hashMap, OUTLINES, PAGE
-
Fields inherited from class com.aowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
-
-
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()
PdfShading
getShading()
private PdfIndirectReference
getShadingReference()
void
setMatrix(float[] matrix)
(package private) void
setName(int number)
-
Methods inherited from class com.aowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, remove, size, toPdf, toString
-
Methods inherited from class com.aowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
-
-
-
Field Detail
-
shading
private final PdfShading shading
-
writer
private final PdfWriter writer
-
matrix
private float[] matrix
-
patternName
private PdfName patternName
-
patternReference
private PdfIndirectReference patternReference
-
-
Constructor Detail
-
PdfShadingPattern
PdfShadingPattern(PdfShading shading)
Creates new PdfShadingPattern
-
-
Method Detail
-
getPatternName
PdfName getPatternName()
-
getPatternReference
PdfIndirectReference getPatternReference()
-
getShadingReference
private 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
public PdfShading getShading()
-
getColorDetails
ColorDetails getColorDetails()
-
-