com.itextpdf.text.pdf
Class PdfShadingPattern
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfShadingPattern
public class PdfShadingPattern
- extends PdfDictionary
Implements the shading pattern dictionary.
- Author:
- Paulo Soares
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
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 |
shading
protected PdfShading shading
writer
protected PdfWriter writer
matrix
protected float[] matrix
patternName
protected PdfName patternName
patternReference
protected PdfIndirectReference patternReference
PdfShadingPattern
public PdfShadingPattern(PdfShading shading)
- Creates new PdfShadingPattern
addToBody
public void addToBody()
throws IOException
- Throws:
IOException
setMatrix
public void setMatrix(float[] matrix)
getMatrix
public float[] getMatrix()
getShading
public PdfShading getShading()
Copyright © 2013. All Rights Reserved.