Class TikzGraphics

java.lang.Object
net.sourceforge.plantuml.tikz.TikzGraphics

public class TikzGraphics extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    TikzGraphics(double scale, boolean withPreamble, ColorMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendRaw(double x, double y, java.lang.String formula)
     
    void
    arc(double x, double y, int angleStart, int angleEnd, double radius)
     
    void
     
    void
    createData(java.io.OutputStream os)
     
    void
    drawPathIterator(double x, double y, java.awt.geom.PathIterator path)
     
    void
    drawSingleCharacter(double x, double y, char c)
     
    void
    ellipse(double x, double y, double width, double height)
     
    static java.lang.String
    format(double x)
     
    void
    line(double x1, double y1, double x2, double y2)
     
    void
    openLink(java.lang.String url, java.lang.String title)
     
    void
    polygon(double[] points)
     
    void
    rectangle(double x, double y, double width, double height)
     
    void
    rectangleRound(double x, double y, double width, double height, double r)
     
    void
     
    void
    setGradientColor(HColor c1, HColor c2, char policy)
     
    void
     
    void
    setStrokeWidth(double thickness, java.lang.String dash)
     
    void
    text(double x, double y, java.lang.String text, boolean underline, boolean italic, boolean bold)
     
    void
    upath(double x, double y, UPath path)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TikzGraphics

      public TikzGraphics(double scale, boolean withPreamble, ColorMapper mapper)
  • Method Details

    • createData

      public void createData(java.io.OutputStream os) throws java.io.IOException
      Throws:
      java.io.IOException
    • rectangle

      public void rectangle(double x, double y, double width, double height)
    • format

      public static java.lang.String format(double x)
    • text

      public void text(double x, double y, java.lang.String text, boolean underline, boolean italic, boolean bold)
    • appendRaw

      public void appendRaw(double x, double y, java.lang.String formula)
    • line

      public void line(double x1, double y1, double x2, double y2)
    • polygon

      public void polygon(double[] points)
    • rectangleRound

      public void rectangleRound(double x, double y, double width, double height, double r)
    • upath

      public void upath(double x, double y, UPath path)
    • ellipse

      public void ellipse(double x, double y, double width, double height)
    • arc

      public void arc(double x, double y, int angleStart, int angleEnd, double radius)
    • drawSingleCharacter

      public void drawSingleCharacter(double x, double y, char c)
    • drawPathIterator

      public void drawPathIterator(double x, double y, java.awt.geom.PathIterator path)
    • setFillColor

      public void setFillColor(HColor c)
    • setGradientColor

      public void setGradientColor(HColor c1, HColor c2, char policy)
    • setStrokeColor

      public void setStrokeColor(HColor c)
    • setStrokeWidth

      public void setStrokeWidth(double thickness, java.lang.String dash)
    • openLink

      public void openLink(java.lang.String url, java.lang.String title)
    • closeLink

      public void closeLink()