|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.generators.svg.LShapeSVGGenerator<IBezierCurve>
net.sf.latexdraw.generators.svg.LBezierCurveSVGGenerator
class LBezierCurveSVGGenerator
Defines a SVG generator for a Bézier curve.
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 |
LBezierCurveSVGGenerator(IBezierCurve bc)
Creates a generator of SVG bezier curve. |
protected |
LBezierCurveSVGGenerator(SVGGElement elt)
Creates a rectangle from a G SVG element. |
protected |
LBezierCurveSVGGenerator(SVGGElement elt,
boolean withTransformation)
Creates a Bézier curve from a latexdraw-SVG element. |
Method Summary | |
---|---|
protected SVGPathSegList |
getPathSegList()
|
protected SVGGElement |
getShowPointsElement(SVGDocument doc)
Creates an SVG g element that contains the 'show points' plotting. |
void |
setPath(SVGPathSegList list)
Sets the shape path according to the given SVG path segments. |
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 LBezierCurveSVGGenerator(IBezierCurve bc)
bc
- The bezier curve used for the generation.
java.lang.IllegalArgumentException
- If bc is null.protected LBezierCurveSVGGenerator(SVGGElement elt)
elt
- The G SVG element used for the creation of a rectangle.
java.lang.IllegalArgumentException
- If the given element is null.protected LBezierCurveSVGGenerator(SVGGElement elt, boolean withTransformation)
elt
- The source element.Method Detail |
---|
public void setPath(SVGPathSegList list)
list
- The SVG path segments listprotected SVGPathSegList getPathSegList()
public SVGElement toSVG(SVGDocument doc)
LShapeSVGGenerator
toSVG
in class LShapeSVGGenerator<IBezierCurve>
doc
- The SVG document.
protected SVGGElement getShowPointsElement(SVGDocument doc)
doc
- The owner document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |