public class EMFPicture extends RTFPicture
| Constructor and Description |
|---|
EMFPicture(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.datatransfer.Transferable |
buildStandAloneTransferable()
Used by children classes to define how they create a transferable when used outside of an RTF picture.
|
byte[] |
getAsByteArray() |
java.awt.Graphics2D |
getGraphics()
Returns a Graphics2D object to draw on.
|
void |
write(SimpleRTFWriter writer) |
buildTransferable, isEmbeddedInRTF, setEmbeddedInRTFpublic EMFPicture(int width,
int height)
throws java.io.IOException
java.io.IOExceptionpublic java.awt.Graphics2D getGraphics()
TransferablePicturepublic void write(SimpleRTFWriter writer) throws java.io.IOException
java.io.IOExceptionpublic byte[] getAsByteArray()
protected java.awt.datatransfer.Transferable buildStandAloneTransferable()
RTFPicturebuildStandAloneTransferable in class RTFPicture