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
Implements the shading pattern dictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float[]private PdfNameprivate PdfIndirectReferenceprivate final PdfShadingprivate final PdfWriterFields inherited from class com.aowagie.text.pdf.PdfDictionary
CATALOG, hashMap, OUTLINES, PAGEFields 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 -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) ColorDetailsfloat[](package private) PdfName(package private) PdfIndirectReferenceprivate PdfIndirectReferencevoidsetMatrix(float[] matrix) (package private) voidsetName(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, toStringMethods inherited from class com.aowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
Field Details
-
shading
-
writer
-
matrix
private float[] matrix -
patternName
-
patternReference
-
-
Constructor Details
-
PdfShadingPattern
PdfShadingPattern(PdfShading shading) Creates new PdfShadingPattern
-
-
Method Details
-
getPatternName
PdfName getPatternName() -
getPatternReference
PdfIndirectReference getPatternReference() -
getShadingReference
-
setName
void setName(int number) -
addToBody
- Throws:
IOException
-
setMatrix
public void setMatrix(float[] matrix) -
getMatrix
public float[] getMatrix() -
getShading
-
getColorDetails
ColorDetails getColorDetails()
-