|
|||||||||
Home >> All >> jpicedt >> format >> [ latex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
jpicedt.format.latex
Class PicEllipseFormatter

java.lang.Objectjpicedt.format.latex.PicEllipseFormatter
- All Implemented Interfaces:
- jpicedt.graphic.io.formatter.Formatter, LatexConstants, jpicedt.graphic.model.PicObjectConstants
- public class PicEllipseFormatter
- extends java.lang.Object
- implements jpicedt.graphic.io.formatter.Formatter, jpicedt.graphic.model.PicObjectConstants, LatexConstants
- extends java.lang.Object
A drawing->LaTeX formater for PicEllipse objects
Field Summary | |
protected jpicedt.graphic.model.PicEllipse |
element
the Element this formater acts upon |
protected LatexFormatter |
factory
|
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
Constructor Summary | |
PicEllipseFormatter(jpicedt.graphic.model.PicEllipse element,
LatexFormatter factory)
|
Method Summary | |
protected void |
appendEmulatedArcString(java.lang.StringBuffer buf)
Create a string representation of a circle/ellipse in the LaTeX format, using emulated lines, and append it to the given buffer. |
protected void |
appendLatexCircleString(java.lang.StringBuffer buf)
Create a string representation of a circle in the LaTeX format, using the \\circle command, and append it to the given buffer. |
protected void |
appendLatexDiskString(java.lang.StringBuffer buf)
Create a string representation of a disk in the LaTeX format, using the \\circle* command, and append it to the given buffer. |
protected void |
appendPicedtStartingString(java.lang.StringBuffer buf)
Create the PicEdt starting string (i.e. |
java.lang.String |
format()
Create a String representing an Element in the format of this formatter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
element
protected jpicedt.graphic.model.PicEllipse element
- the Element this formater acts upon
factory
protected LatexFormatter factory
Constructor Detail |
PicEllipseFormatter
public PicEllipseFormatter(jpicedt.graphic.model.PicEllipse element, LatexFormatter factory)
Method Detail |
format
public java.lang.String format()
- Description copied from interface:
jpicedt.graphic.io.formatter.Formatter
- Create a String representing an Element in the format of this formatter
- Specified by:
format
in interfacejpicedt.graphic.io.formatter.Formatter
- Since:
- PicEdt 1.0
appendLatexDiskString
protected void appendLatexDiskString(java.lang.StringBuffer buf)
Create a string representation of a disk in the LaTeX format, using the \\circle* command, and append it to the given buffer. Appended string is CR-terminated.
- Since:
- jpicedt 1.3.2
appendLatexCircleString
protected void appendLatexCircleString(java.lang.StringBuffer buf)
Create a string representation of a circle in the LaTeX format, using the \\circle command, and append it to the given buffer. Appended string is CR-terminated.
- Since:
- jpicedt 1.3.2
appendEmulatedArcString
protected void appendEmulatedArcString(java.lang.StringBuffer buf)
Create a string representation of a circle/ellipse in the LaTeX format, using emulated lines, and append it to the given buffer. Appended string is CR-terminated.
Parametric equation is :
- x(t) = a cos t
- y(t) = b sin t
- where a and b are the length of 1/2 axis.
- Since:
- jpicedt 1.3.2
appendPicedtStartingString
protected void appendPicedtStartingString(java.lang.StringBuffer buf)
Create the PicEdt starting string (i.e. %Ellipse...) valid for both the LaTeX and the eepic format, and append it to the given StringBuffer. The appended string is CR-terminated.
Syntax :
%Ellipse(xR,yR)(width)(height) filled|whiten|blacken|shade arcStart= arcExtent=
... (LaTeX or eepic commands)
%End Ellipse
|
|||||||||
Home >> All >> jpicedt >> format >> [ latex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |