|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.generators.svg.LShapeSVGGenerator<ITriangle>
net.sf.latexdraw.generators.svg.LTriangleSVGGenerator
class LTriangleSVGGenerator
Defines an SVG generator for a triangle.
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 |
LTriangleSVGGenerator(ITriangle triangle)
Creates a generator of SVG triangle. |
protected |
LTriangleSVGGenerator(SVGGElement elt)
Creates a triangle from a G SVG element. |
protected |
LTriangleSVGGenerator(SVGGElement elt,
boolean withTransformation)
Creates a triangle from a latexdraw-SVG element. |
Method Summary | |
---|---|
SVGElement |
toSVG(SVGDocument doc)
Creates an SVG element from the current latexdraw shape. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LTriangleSVGGenerator(ITriangle triangle)
triangle
- The triangle used for the generation.
java.lang.IllegalArgumentException
- If the given triangle is null.protected LTriangleSVGGenerator(SVGGElement elt)
elt
- The G SVG element used for the creation of a triangle.
java.lang.IllegalArgumentException
- If the given element is null.protected LTriangleSVGGenerator(SVGGElement elt, boolean withTransformation)
elt
- The source element.Method Detail |
---|
public SVGElement toSVG(SVGDocument doc)
LShapeSVGGenerator
toSVG
in class LShapeSVGGenerator<ITriangle>
doc
- The SVG document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |