http://www.jpicedt.org

jpicedt.format.output.pstricks
Class PicEllipseFormatter

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

public class PicEllipseFormatter
extends AbstractFormatter

Formats a PicEllipse using PsTricks macros, including pstricks-add's \\psellipticarc if applicable. [SR:pending] arrows for flat ellipse

Since:
jpicedt 1.4
Version:
$Id: PicEllipseFormatter.java,v 1.24 2013/08/05 19:21:36 vincentb1 Exp $
Author:
Vincent Guirardel, Sylvain Reynal

Constructor Summary
PicEllipseFormatter(PicEllipse ellipse, PstricksFormatter factory)
           
 
Method Summary
 String format()
          \\rput{rotation}(centerX,centerY){\\psellipse[param](0,0)(greatAxis/2,smallAxis/2)} => plain ellipse
\\rput{rotationAngle}(centerX,centerY){\qline(min,0)(max,0)} => flat ellipse
 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

PicEllipseFormatter

public PicEllipseFormatter(PicEllipse ellipse,
                           PstricksFormatter 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()
\\rput{rotation}(centerX,centerY){\\psellipse[param](0,0)(greatAxis/2,smallAxis/2)} => plain ellipse
\\rput{rotationAngle}(centerX,centerY){\qline(min,0)(max,0)} => flat ellipse


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org