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 PdfName
private PdfIndirectReference
private final PdfShading
private final PdfWriter
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 -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) ColorDetails
float[]
(package private) PdfName
(package private) PdfIndirectReference
private PdfIndirectReference
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 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()
-