|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.generators.svg.LShapeSVGGenerator<S>
net.sf.latexdraw.generators.svg.LModifiablePointsGenerator<IPolyline>
net.sf.latexdraw.generators.svg.LPolylinesSVGGenerator
class LPolylinesSVGGenerator
Defines a SVG generator for some joined lines.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
11/11/07
Field Summary |
---|
Fields inherited from class net.sf.latexdraw.generators.svg.LShapeSVGGenerator |
---|
shape, SVG_URL_TOKEN_BEGIN |
Constructor Summary | |
---|---|
protected |
LPolylinesSVGGenerator(IPolyline polyline)
Creates a generator for IPolyline. |
protected |
LPolylinesSVGGenerator(SVGGElement elt)
Creates a latexdraw polyline from an SVG element provided by a latexdraw-SVG document. |
protected |
LPolylinesSVGGenerator(SVGGElement elt,
boolean withTransformation)
Creates some joined-lines from a latexdraw-SVG element. |
protected |
LPolylinesSVGGenerator(SVGLineElement elt)
Creates a line from an SVG line element. |
protected |
LPolylinesSVGGenerator(SVGPathElement elt)
Creates some lines using a SVG path. |
protected |
LPolylinesSVGGenerator(SVGPolyLineElement elt)
Creates some joined-lines from an SVG polyline element. |
Method Summary | |
---|---|
SVGElement |
toSVG(SVGDocument doc)
Creates an SVG element from the current latexdraw shape. |
Methods inherited from class net.sf.latexdraw.generators.svg.LModifiablePointsGenerator |
---|
initModifiablePointsShape, setSVGModifiablePointsParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LPolylinesSVGGenerator(IPolyline polyline)
polyline
- The source polyline used to generate the SVG element.protected LPolylinesSVGGenerator(SVGPathElement elt)
elt
- The SVG path.protected LPolylinesSVGGenerator(SVGPolyLineElement elt)
elt
- The source element.protected LPolylinesSVGGenerator(SVGLineElement elt)
elt
- The source element.protected LPolylinesSVGGenerator(SVGGElement elt)
elt
- The latexdraw-SVG element to convert as a latexdraw shape.protected LPolylinesSVGGenerator(SVGGElement elt, boolean withTransformation)
elt
- The source element.Method Detail |
---|
public SVGElement toSVG(SVGDocument doc)
LShapeSVGGenerator
toSVG
in class LShapeSVGGenerator<IPolyline>
doc
- The SVG document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |