|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.uml.diagramio.SVGDiagramWriter
public class SVGDiagramWriter
Writes diagram to an image file.
Constructor Summary | |
---|---|
SVGDiagramWriter()
Creates a new diagram writer that writes diagrams to vector graphics files. |
Method Summary | |
---|---|
boolean |
canWriteMultipleDiagrams()
Checks whether this writer can write multiple diagrams or not. |
boolean |
canWriteThumbnail()
Checks whether this writer supports storage of image thumbnails. |
void |
writeDiagram(UMLDiagram[] diagrams,
java.lang.String path,
boolean saveThumbnail,
int thumbnailHeight)
Writes given diagram to file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGDiagramWriter()
Method Detail |
---|
public boolean canWriteMultipleDiagrams()
canWriteMultipleDiagrams
in interface DiagramWriter
public boolean canWriteThumbnail()
canWriteThumbnail
in interface DiagramWriter
public void writeDiagram(@NotNull UMLDiagram[] diagrams, @NotNull java.lang.String path, boolean saveThumbnail, int thumbnailHeight) throws java.io.IOException
writeDiagram
in interface DiagramWriter
diagrams
- diagrams to writepath
- path to target filesaveThumbnail
- true, if thumbnail should be written; false otherwisethumbnailHeight
- desired thumbnail height in pixels
java.io.IOException
- on IO error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |