net.abriraqui.dm4.importexport
Class SVGRenderer
java.lang.Object
net.abriraqui.dm4.importexport.SVGRenderer
class SVGRenderer
- extends Object
Method Summary |
void |
closeDocument()
|
void |
image(int x,
int y,
int imgWidth,
int imgHeight,
String imgUri)
|
void |
line(int x1,
int x2,
int y1,
int y2)
|
void |
rectangle(int x,
int y,
int width,
int height,
String color)
|
void |
text(int x,
int y,
int x1,
int y1,
String value,
String color,
double alpha)
|
void |
text(int x,
int y,
String value,
String color)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
svgWriter
private XMLStreamWriter svgWriter
SVGRenderer
public SVGRenderer(String filename)
closeDocument
public void closeDocument()
throws XMLStreamException
- Throws:
XMLStreamException
line
public void line(int x1,
int x2,
int y1,
int y2)
throws XMLStreamException
- Throws:
XMLStreamException
rectangle
public void rectangle(int x,
int y,
int width,
int height,
String color)
throws XMLStreamException
- Throws:
XMLStreamException
text
public void text(int x,
int y,
String value,
String color)
throws XMLStreamException
- Throws:
XMLStreamException
text
public void text(int x,
int y,
int x1,
int y1,
String value,
String color,
double alpha)
throws XMLStreamException
- Throws:
XMLStreamException
image
public void image(int x,
int y,
int imgWidth,
int imgHeight,
String imgUri)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 2014. All Rights Reserved.