static class FileSinkSVG2.SVGContext extends Object
Modifier and Type | Field and Description |
---|---|
(package private) StyleGroupSet |
groups |
(package private) StyleSheet |
stylesheet |
(package private) HashMap<StyleGroup,FileSinkSVG2.SVGStyle> |
svgStyles |
(package private) FileSinkSVG2.ViewBox |
viewBox |
Constructor and Description |
---|
SVGContext() |
Modifier and Type | Method and Description |
---|---|
void |
end(FileSinkSVG2.XMLWriter out) |
String |
getPath(Element e,
FileSinkSVG2.SVGStyle style) |
double |
getValue(double d,
StyleConstants.Units units,
boolean horizontal) |
double |
getValue(Value v,
boolean horizontal) |
void |
init(FileSinkSVG2.XMLWriter out,
Graph g) |
void |
writeElement(FileSinkSVG2.XMLWriter out,
Element e) |
void |
writeElements(FileSinkSVG2.XMLWriter out,
Graph g) |
void |
writeElementText(FileSinkSVG2.XMLWriter out,
String text,
Element e,
StyleGroup style) |
StyleGroupSet groups
StyleSheet stylesheet
HashMap<StyleGroup,FileSinkSVG2.SVGStyle> svgStyles
FileSinkSVG2.ViewBox viewBox
public SVGContext()
public void init(FileSinkSVG2.XMLWriter out, Graph g) throws IOException, XMLStreamException
IOException
XMLStreamException
public void end(FileSinkSVG2.XMLWriter out) throws XMLStreamException
XMLStreamException
public void writeElements(FileSinkSVG2.XMLWriter out, Graph g) throws XMLStreamException
XMLStreamException
public void writeElement(FileSinkSVG2.XMLWriter out, Element e) throws XMLStreamException
XMLStreamException
public void writeElementText(FileSinkSVG2.XMLWriter out, String text, Element e, StyleGroup style) throws XMLStreamException
XMLStreamException
public String getPath(Element e, FileSinkSVG2.SVGStyle style)
public double getValue(double d, StyleConstants.Units units, boolean horizontal)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses