org.jmol.export.image
public class ImageCreator extends Object implements JmolImageCreatorInterface
Modifier and Type | Field and Description |
---|---|
private double |
privateKey |
private Viewer |
viewer |
Constructor and Description |
---|
ImageCreator() |
ImageCreator(JmolViewer viewer) |
Modifier and Type | Method and Description |
---|---|
String |
clipImage(String text) |
Object |
createImage(String fileName,
String type,
Object text_or_bytes,
int quality) |
String |
getClipboardText() |
static String |
getClipboardTextStatic() |
Object |
getImageBytes(String type,
int quality,
String fileName,
Object appendText,
OutputStream os) |
void |
setViewer(JmolViewer viewer,
double privateKey) |
private Viewer viewer
private double privateKey
public ImageCreator()
public ImageCreator(JmolViewer viewer)
public void setViewer(JmolViewer viewer, double privateKey)
setViewer
in interface JmolImageCreatorInterface
public String clipImage(String text)
clipImage
in interface JmolImageCreatorInterface
public String getClipboardText()
getClipboardText
in interface JmolImageCreatorInterface
public static String getClipboardTextStatic()
public Object createImage(String fileName, String type, Object text_or_bytes, int quality)
createImage
in interface JmolImageCreatorInterface
fileName
- type
- text_or_bytes
- quality
- public Object getImageBytes(String type, int quality, String fileName, Object appendText, OutputStream os) throws IOException
getImageBytes
in interface JmolImageCreatorInterface
IOException