public class PDFSoftMaskImage extends Stream
Constructor and Description |
---|
PDFSoftMaskImage(int number,
java.awt.Image img)
Creates a new soft mask image object.
|
Modifier and Type | Method and Description |
---|---|
protected Dictionary |
createDictionary(int streamLength)
Creates a dictionary reflecting the current configuration for this
image.
|
byte[] |
getRawStreamData()
Returns the raw image data.
|
addFilter, getObjectBytes, removeFilters
getGeneration, getNumber, getReference, toPDFBytes
public PDFSoftMaskImage(int number, java.awt.Image img)
number
- the PDF object number.img
- the AWT image object (null
not permitted).public byte[] getRawStreamData()
getRawStreamData
in class Stream
protected Dictionary createDictionary(int streamLength)
createDictionary
in class Stream
streamLength
- the stream length.