public class WMFPicture extends RTFPicture
| Constructor and Description |
|---|
WMFPicture(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.
|
java.awt.Graphics2D |
getGraphics()
Returns a Graphics2D object to draw on.
|
void |
write(SimpleRTFWriter writer) |
buildTransferable, isEmbeddedInRTF, setEmbeddedInRTFpublic WMFPicture(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.IOExceptionprotected java.awt.datatransfer.Transferable buildStandAloneTransferable()
RTFPicturebuildStandAloneTransferable in class RTFPicture