com.lowagie.text.pdf

Class PdfShadingPattern

public class PdfShadingPattern extends PdfDictionary

Implements the shading pattern dictionary.

Author: Paulo Soares (psoares@consiste.pt)

Field Summary
protected float[]matrix
protected PdfNamepatternName
protected PdfIndirectReferencepatternReference
protected PdfShadingshading
protected PdfWriterwriter
Constructor Summary
PdfShadingPattern(PdfShading shading)
Creates new PdfShadingPattern
Method Summary
voidaddToBody()
ColorDetailsgetColorDetails()
float[]getMatrix()
PdfNamegetPatternName()
PdfIndirectReferencegetPatternReference()
PdfShadinggetShading()
PdfNamegetShadingName()
PdfIndirectReferencegetShadingReference()
voidsetMatrix(float[] matrix)
voidsetName(int number)

Field Detail

matrix

protected float[] matrix

patternName

protected PdfName patternName

patternReference

protected PdfIndirectReference patternReference

shading

protected PdfShading shading

writer

protected PdfWriter writer

Constructor Detail

PdfShadingPattern

public PdfShadingPattern(PdfShading shading)
Creates new PdfShadingPattern

Method Detail

addToBody

void addToBody()

getColorDetails

ColorDetails getColorDetails()

getMatrix

public float[] getMatrix()

getPatternName

PdfName getPatternName()

getPatternReference

PdfIndirectReference getPatternReference()

getShading

public PdfShading getShading()

getShadingName

PdfName getShadingName()

getShadingReference

PdfIndirectReference getShadingReference()

setMatrix

public void setMatrix(float[] matrix)

setName

void setName(int number)