com.mindfusion.pdf
Class PdfImage
java.lang.Object
com.mindfusion.pdf.PdfObject
com.mindfusion.pdf.PdfImage
- All Implemented Interfaces:
- INotify<PdfObject>, IPdfSaver, java.lang.Comparable
public class PdfImage
- 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 |
PdfImage
public PdfImage(java.awt.Image img,
PdfPage _page,
java.awt.Dimension dim)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
PdfImage
public PdfImage(java.awt.Image img,
PdfPage _page)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
PdfImage
public PdfImage(java.awt.Image img,
PdfPage _page,
boolean isMask)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
isMaskRequired
public boolean isMaskRequired()
isMask
public boolean isMask()
isMasked
public boolean isMasked()
getW
public int getW()
getH
public int getH()
getContent
protected byte[] getContent()
throws java.io.IOException
- Overrides:
getContent
in class PdfObject
- Throws:
java.io.IOException