com.mindfusion.pdf
Class PdfShading

java.lang.Object
  extended by com.mindfusion.pdf.PdfObject
      extended by com.mindfusion.pdf.PdfShading
All Implemented Interfaces:
INotify<PdfObject>, IPdfSaver, java.lang.Comparable

public class PdfShading
extends PdfObject


Field Summary
 
Fields inherited from class com.mindfusion.pdf.PdfObject
currentRotation, currentTransform, id, offset, page, parent, pdfType, size
 
Constructor Summary
PdfShading(PdfPattern pattern)
           
 
Method Summary
 java.awt.Color[] getColors()
           
 java.awt.Color getColors(int index)
           
protected  byte[] getContent()
           
 PdfFunction getFunction()
           
 java.awt.geom.Point2D[] getGradientPositions()
           
 java.awt.geom.Point2D getGradientPositions(int index)
           
 
Methods inherited from class com.mindfusion.pdf.PdfObject
compare, compareTo, getCollectionId, getCurrentRotation, getCurrentTransform, getDocument, getId, getName, getObjectFooter, getObjectHeader, getOffset, getPage, getParent, getPdfType, getSize, isParentless, isRoot, OnAdded, OnChanged, registerObject, Save, setCollectionId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfShading

public PdfShading(PdfPattern pattern)
           throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getGradientPositions

public java.awt.geom.Point2D[] getGradientPositions()

getGradientPositions

public java.awt.geom.Point2D getGradientPositions(int index)

getColors

public java.awt.Color[] getColors()

getColors

public java.awt.Color getColors(int index)

getFunction

public PdfFunction getFunction()

getContent

protected byte[] getContent()
                     throws java.io.IOException
Overrides:
getContent in class PdfObject
Throws:
java.io.IOException