|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.visualizers.thumbs.Thumbnailer
public class Thumbnailer
Class that will render a SVGPlot
into a File
as thumbnail.
Note: this does not happen in the background - call it from your own Thread if you need that!
Field Summary | |
---|---|
private static String |
DEFAULT_PREFIX
Default prefix |
private String |
prefix
Prefix storage. |
Constructor Summary | |
---|---|
Thumbnailer()
Constructor |
|
Thumbnailer(String prefix)
Constructor |
Method Summary | |
---|---|
File |
thumbnail(SVGPlot plot,
int thumbwidth,
int thumbheight)
Generate a thumbnail for a given plot. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String DEFAULT_PREFIX
private String prefix
Constructor Detail |
---|
public Thumbnailer(String prefix)
prefix
- Filename prefix to avoid collisions (e.g "elki-")public Thumbnailer()
Method Detail |
---|
public File thumbnail(SVGPlot plot, int thumbwidth, int thumbheight)
plot
- Plot to usethumbwidth
- Width of the thumbnailthumbheight
- height of the thumbnail
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |