Class PicEllipseFormatter

    • Method Detail

      • format

        public java.lang.String format()
        Description copied from interface: Formatter
        Create a String representing an Element in the format of this formatter
        Specified by:
        format in interface Formatter
        Returns:
        a LaTeX-String representation of a PicEllipse (i.e. a circle, an ellipse, or an arc, never filled in the LaTeX format).
      • 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.
        [SR:pending] add dash + rotated ellipse
        Since:
        jpicedt 1.3.2
      • appendArrows

        protected void appendArrows​(java.lang.StringBuffer buf)
        Append arrows to the given buffer by invoking arrowToLatexString() on the producing factory.