Class PdfShadingPattern
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
com.gitlab.pdftk_java.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) PdfShading
(package private) PdfName
(package private) PdfIndirectReference
void
setMatrix
(float[] matrix) (package private) void
setName
(int number) Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
-
Field Details
-
shading
-
writer
-
matrix
protected float[] matrix -
patternName
-
patternReference
-
-
Constructor Details
-
PdfShadingPattern
Creates new PdfShadingPattern
-
-
Method Details
-
getPatternName
PdfName getPatternName() -
getShadingName
PdfName getShadingName() -
getPatternReference
PdfIndirectReference getPatternReference() -
getShadingReference
PdfIndirectReference getShadingReference() -
setName
void setName(int number) -
addToBody
- Throws:
IOException
-
setMatrix
public void setMatrix(float[] matrix) -
getMatrix
public float[] getMatrix() -
getShading
PdfShading getShading() -
getColorDetails
ColorDetails getColorDetails()
-