http://www.jpicedt.org

jpicedt.format.output.tikz
Class PicParallelogramFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractFormatter
      extended by jpicedt.format.output.tikz.PicParallelogramFormatter
All Implemented Interfaces:
Formatter

public class PicParallelogramFormatter
extends AbstractFormatter

Formateur de PicParallelogram au format Tikz. Lorsque le parallelogramme est rectangle la primitive Tikz «&nsbp;rectangle » est utilisée. Sinon le parallelogramme est converti en chemin.

Since:
jpicedt 1.6
Author:
Vincent Belaïche

Field Summary
protected  TikzFormatter factory
           
protected  PicParallelogram parallelogram
           
 
Constructor Summary
PicParallelogramFormatter(PicParallelogram parallelogram, TikzFormatter factory)
           
 
Method Summary
 String format()
          Create a String representing an Element in the format of this formatter
 Element getElement()
          Renvoie l'Element sujet du formattage.
 
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatter
revertedArrowsAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parallelogram

protected PicParallelogram parallelogram

factory

protected TikzFormatter factory
Constructor Detail

PicParallelogramFormatter

public PicParallelogramFormatter(PicParallelogram parallelogram,
                                 TikzFormatter factory)
Method Detail

getElement

public Element getElement()
Description copied from interface: Formatter
Renvoie l'Element sujet du formattage.

Since:
jPicEdt 1.6

format

public String format()
Description copied from interface: Formatter
Create a String representing an Element in the format of this formatter

Returns:
une chaîne de caractères contenant le code Tikz formatant le PicParallelogram passée à la construction.
Since:
jPicEdt 1.6

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org