jpicedt.format.output.latex
Class AbstractCurveFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractFormatter
jpicedt.format.output.latex.AbstractCurveFormatter
- All Implemented Interfaces:
- Formatter
public class AbstractCurveFormatter
- extends AbstractFormatter
Format an AbstractCurve, or any subclass of it, to the LaTeX-picture format.
[SR:pending] synchronize LatexViewFactory with new (un)supported attributes.
- Since:
- jpicedt 1.4
- Version:
- $Id: AbstractCurveFormatter.java,v 1.12 2013/03/27 07:23:42 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
String |
format()
Returns a string representing this AbstractCurve using \line and \qbezier LaTeX macros only. |
Element |
getElement()
Renvoie l'Element sujet du formattage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
curve
protected AbstractCurve curve
- the Element this formater acts upon
factory
protected LatexFormatter factory
AbstractCurveFormatter
public AbstractCurveFormatter(AbstractCurve curve,
LatexFormatter factory)
getElement
public Element getElement()
- Description copied from interface:
Formatter
- Renvoie l'
Element
sujet du formattage.
- Since:
- jPicEdt 1.6
format
public String format()
- Returns a string representing this AbstractCurve using \line and \qbezier LaTeX macros only.
Dashed style is allowed if all segments are straight, since \qbezier does not support this style.
Submit a bug : syd@jpicedt.org