Package org.openpdf.text.pdf
Class PdfShadingPattern
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfShadingPattern
Implements the shading pattern dictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float[]protected PdfNameprotected PdfIndirectReferenceprotected PdfShadingprotected PdfWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) ColorDetailsfloat[](package private) PdfName(package private) PdfIndirectReference(package private) PdfName(package private) PdfIndirectReferencevoidsetMatrix(float[] matrix) (package private) voidsetName(int number) Methods inherited from class org.openpdf.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, toStringMethods inherited from class org.openpdf.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()
-