jpicedt.format.output.latex
Class PicParallelogramFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractFormatter
jpicedt.format.output.latex.PicParallelogramFormatter
- All Implemented Interfaces:
- Formatter
public class PicParallelogramFormatter
- extends AbstractFormatter
Formats a PicParallelogram to the LaTeX-picture format.
- Since:
- jpicedt 1.4
- Version:
- $Id: PicParallelogramFormatter.java,v 1.11 2013/07/21 12:54:03 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
String |
format()
Depending on the parallelogram being rectangle or not, either use LaTeX's \\line command,
or the \\rule command if the shape is to be filled. |
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 |
element
protected PicParallelogram element
- the Element this formater acts upon
factory
protected LatexFormatter factory
- the producing factory
PicParallelogramFormatter
public PicParallelogramFormatter(PicParallelogram element,
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()
- Depending on the parallelogram being rectangle or not, either use LaTeX's \\line command,
or the \\rule command if the shape is to be filled.
- Returns:
- The LaTeX string corresponding to this object
Submit a bug : syd@jpicedt.org