http://www.jpicedt.org

jpicedt.graphic.io.formatter
Class JPICParallelogramFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractFormatter
      extended by jpicedt.graphic.io.formatter.JPICParallelogramFormatter
All Implemented Interfaces:
Formatter

public class JPICParallelogramFormatter
extends AbstractFormatter

JPIC-XML formatter for PicParallelogram objects. JPIC-XML syntax :

Since:
jpicedt 1.4
Version:
$Id: JPICParallelogramFormatter.java,v 1.10 2013/03/27 07:04:49 vincentb1 Exp $
Author:
Sylvain Reynal

Constructor Summary
JPICParallelogramFormatter(PicParallelogram obj, JPICFormatter factory)
           
 
Method Summary
 String format()
          PsTricks formating algorithm ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7)
 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
 

Constructor Detail

JPICParallelogramFormatter

public JPICParallelogramFormatter(PicParallelogram obj,
                                  JPICFormatter factory)
Parameters:
obj - the PicParallelogram to be formatted
factory - the factory that produced this formatter
Method Detail

getElement

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


format

public String format()
PsTricks formating algorithm ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7)

Returns:
a String representing this Element in the PsTricks

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org