net.sf.latexdraw.generators.svg
Class LModifiablePointsGenerator<S extends IModifiablePointsShape>

java.lang.Object
  extended by net.sf.latexdraw.generators.svg.LShapeSVGGenerator<S>
      extended by net.sf.latexdraw.generators.svg.LModifiablePointsGenerator<S>
Direct Known Subclasses:
LPolygonSVGGenerator, LPolylinesSVGGenerator

abstract class LModifiablePointsGenerator<S extends IModifiablePointsShape>
extends LShapeSVGGenerator<S>

Defines an SVG generator for shapes composed of points.

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

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class net.sf.latexdraw.generators.svg.LShapeSVGGenerator
shape, SVG_URL_TOKEN_BEGIN
 
Constructor Summary
protected LModifiablePointsGenerator(S modShape)
          Creates a generator for IModifiablePointsShape.
 
Method Summary
protected  void initModifiablePointsShape(SVGPathElement elt)
          Sets the points of the modifiable points shape using the given SVG element.
protected  void setSVGModifiablePointsParameters(AbstractPointsElement ape)
          Sets the latexdraw polygon using the given SVG element that contains points.
 
Methods inherited from class net.sf.latexdraw.generators.svg.LShapeSVGGenerator
applyTransformation, applyTransformations, getGradientPoints, getLaTeXDrawElement, getPositionGap, getShape, getShowPointsDot, getShowPointsLine, getSVGHatchingsPath, getSVGID, homogeniseArrowFrom, homogeniseArrows, setDashedDotted, setDashedDotted, setFill, setLineColour, setNumber, setSVGArrow, setSVGArrow, setSVGAttributes, setSVGBorderBackground, setSVGDbleBordersParameters, setSVGDoubleBordersAttributes, setSVGLatexdrawParameters, setSVGParameters, setSVGRotationAttribute, setSVGShadowAttributes, setSVGShadowParameters, setThickness, setThickness, toSVG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LModifiablePointsGenerator

protected LModifiablePointsGenerator(S modShape)
Creates a generator for IModifiablePointsShape.

Parameters:
modShape - The source shape used to generate the SVG element.
Method Detail

setSVGModifiablePointsParameters

protected void setSVGModifiablePointsParameters(AbstractPointsElement ape)
Sets the latexdraw polygon using the given SVG element that contains points.

Parameters:
ape - The source SVG element used to define the latexdraw shape.
Since:
3.0

initModifiablePointsShape

protected void initModifiablePointsShape(SVGPathElement elt)
Sets the points of the modifiable points shape using the given SVG element.

Parameters:
elt - The SVG element that contains the points to set.
Since:
3.0