com.mindfusion.pdf
Class PdfShading
java.lang.Object
com.mindfusion.pdf.PdfObject
com.mindfusion.pdf.PdfShading
- All Implemented Interfaces:
- INotify<PdfObject>, IPdfSaver, java.lang.Comparable
public class PdfShading
- extends PdfObject
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 |
PdfShading
public PdfShading(PdfPattern pattern)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
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