Package com.lowagie.text.pdf
Class PdfShadingPattern
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfShadingPattern
Implements the shading pattern dictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float[]
protected PdfName
protected PdfIndirectReference
protected PdfShading
protected PdfWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) ColorDetails
float[]
(package private) PdfName
(package private) PdfIndirectReference
(package private) PdfName
(package private) PdfIndirectReference
void
setMatrix
(float[] matrix) (package private) void
setName
(int number) 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 Details
-
shading
-
writer
-
matrix
protected float[] matrix -
patternName
-
patternReference
-
-
Constructor Details
-
PdfShadingPattern
Creates new PdfShadingPattern- Parameters:
shading
- the shading
-
-
Method Details
-
getPatternName
PdfName getPatternName() -
getShadingName
PdfName getShadingName() -
getPatternReference
PdfIndirectReference getPatternReference() -
getShadingReference
PdfIndirectReference getShadingReference() -
setName
void setName(int number) -
addToBody
- Throws:
IOException
-
getMatrix
public float[] getMatrix() -
setMatrix
public void setMatrix(float[] matrix) -
getShading
-
getColorDetails
ColorDetails getColorDetails()
-