org.vectomatic.common.format
Class SVG11Visitor
java.lang.Object
org.vectomatic.common.format.SVG11Visitor
- All Implemented Interfaces:
- ISVGExporter, IShapeVisitor
public class SVG11Visitor
- extends Object
- implements IShapeVisitor, ISVGExporter
Class to export models to the SVG 1.1 format
Fields inherited from interface org.vectomatic.common.format.ISVGExporter |
ATT_BASEPROFILE, ATT_CX, ATT_CY, ATT_D, ATT_FILL, ATT_FILLOPACITY, ATT_HEIGHT, ATT_ID, ATT_POINTS, ATT_RX, ATT_RY, ATT_SOLIDCOLOR, ATT_SOLIDOPACITY, ATT_STROKE, ATT_STROKEOPACITY, ATT_STROKEWIDTH, ATT_TRANSFORM, ATT_VECTOREFFECT, ATT_VERSION, ATT_WIDTH, ATT_X, ATT_Y, ELT_DEFS, ELT_DESC, ELT_ELLIPSE, ELT_G, ELT_PATH, ELT_POLYGON, ELT_POLYLINE, ELT_RECT, ELT_SOLIDCOLOR, ELT_SVG, ELT_TITLE, NS, VAL_CURVE_TO, VAL_LINE_TO, VAL_MOVE_TO, VAL_NON_SCALING_STROKE, VAL_NONE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVG11Visitor
public SVG11Visitor()
pushShape
public TransformMatrix pushShape(Shape shape,
boolean isTailShape)
writeSVG
public void writeSVG(IOutputStream stream,
Shape[] shapes,
PaletteList paletteList,
int width,
int height)
- Specified by:
writeSVG
in interface ISVGExporter
visitEllipse
public void visitEllipse(Ellipse ellipse)
- Specified by:
visitEllipse
in interface IShapeVisitor
visitPolyline
public void visitPolyline(Polyline polyline)
- Specified by:
visitPolyline
in interface IShapeVisitor
visitRect
public void visitRect(Rect rect)
- Specified by:
visitRect
in interface IShapeVisitor
visitPath
public void visitPath(Path path)
- Specified by:
visitPath
in interface IShapeVisitor
visitShapeGroup
public void visitShapeGroup(ShapeGroup group)
- Specified by:
visitShapeGroup
in interface IShapeVisitor
Copyright © 2010. All Rights Reserved.