Package net.sourceforge.plantuml.eps
Class EpsGraphics
- java.lang.Object
-
- net.sourceforge.plantuml.eps.EpsGraphics
-
- Direct Known Subclasses:
EpsGraphicsMacro
public class EpsGraphics extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
COEF
static java.lang.String
END_OF_FILE
-
Constructor Summary
Constructors Constructor Description EpsGraphics()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(java.lang.String s, boolean checkConsistence)
protected void
appendColor(java.awt.Color c)
protected void
appendColorShort(java.awt.Color c)
void
close()
void
closeLink()
void
closepath()
void
closepathDot()
void
curveto(double x1, double y1, double x2, double y2, double x3, double y3)
void
curvetoNoMacro(double x1, double y1, double x2, double y2, double x3, double y3)
void
drawEps(java.lang.String eps, double x, double y)
void
drawImage(java.awt.image.BufferedImage image, double x, double y)
protected void
ensureVisible(double x, double y)
void
epsEllipse(double x, double y, double xRadius, double yRadius)
void
epsEllipse(double x, double y, double xRadius, double yRadius, double start, double extend)
void
epsEllipseShadow(double x, double y, double xRadius, double yRadius, double deltaShadow)
protected void
epsHLine(double x, double ymin, double ymax)
void
epsLine(double x1, double y1, double x2, double y2)
void
epsPath(double x, double y, UPath path)
void
epsPolygon(double... points)
void
epsPolygon(HColorGradient gr, ColorMapper mapper, double... points)
void
epsPolygonShadow(double deltaShadow, double... points)
void
epsRectangle(double x, double y, double width, double height, double rx, double ry)
void
epsRectangle(double x, double y, double width, double height, double rx, double ry, HColorGradient gr, ColorMapper mapper)
void
epsRectangleShadow(double x, double y, double width, double height, double rx, double ry, double deltaShadow)
void
epsUrlLink(int x, int y, int width, int height, java.lang.String url)
protected void
epsVLine(double y, double xmin, double xmax)
void
fill(int windingRule)
static java.lang.String
formatSimple4(double x)
protected java.lang.String
getBodyString()
protected java.awt.Color
getColor()
protected long
getDashSpace()
protected long
getDashVisible()
java.lang.String
getEPSCode()
void
lineto(double x1, double y1)
void
linetoNoMacro(double x1, double y1)
void
moveto(double x1, double y1)
void
movetoNoMacro(double x1, double y1)
void
newpath()
void
newpathDot()
void
openLink(java.lang.String url)
void
quadto(double x1, double y1, double x2, double y2)
void
setFillColor(java.awt.Color c)
void
setStrokeColor(java.awt.Color c)
void
setStrokeWidth(double strokeWidth, double dashVisible, double dashSpace)
-
-
-
Field Detail
-
END_OF_FILE
public static final java.lang.String END_OF_FILE
- See Also:
- Constant Field Values
-
COEF
protected static final long COEF
- See Also:
- Constant Field Values
-
-
Method Detail
-
ensureVisible
protected final void ensureVisible(double x, double y)
-
getColor
protected final java.awt.Color getColor()
-
close
public void close()
-
getEPSCode
public java.lang.String getEPSCode()
-
getBodyString
protected java.lang.String getBodyString()
-
setStrokeColor
public final void setStrokeColor(java.awt.Color c)
-
setFillColor
public void setFillColor(java.awt.Color c)
-
setStrokeWidth
public final void setStrokeWidth(double strokeWidth, double dashVisible, double dashSpace)
-
newpathDot
public void newpathDot()
-
closepathDot
public void closepathDot()
-
epsLine
public void epsLine(double x1, double y1, double x2, double y2)
-
epsHLine
protected void epsHLine(double x, double ymin, double ymax)
-
epsVLine
protected void epsVLine(double y, double xmin, double xmax)
-
epsPath
public void epsPath(double x, double y, UPath path)
-
epsPolygon
public void epsPolygon(HColorGradient gr, ColorMapper mapper, double... points)
-
epsPolygon
public void epsPolygon(double... points)
-
epsRectangle
public void epsRectangle(double x, double y, double width, double height, double rx, double ry)
-
epsRectangle
public void epsRectangle(double x, double y, double width, double height, double rx, double ry, HColorGradient gr, ColorMapper mapper)
-
epsEllipse
public void epsEllipse(double x, double y, double xRadius, double yRadius, double start, double extend)
-
epsEllipse
public void epsEllipse(double x, double y, double xRadius, double yRadius)
-
appendColor
protected void appendColor(java.awt.Color c)
-
appendColorShort
protected void appendColorShort(java.awt.Color c)
-
formatSimple4
public static java.lang.String formatSimple4(double x)
-
append
protected void append(java.lang.String s, boolean checkConsistence)
-
linetoNoMacro
public final void linetoNoMacro(double x1, double y1)
-
movetoNoMacro
public final void movetoNoMacro(double x1, double y1)
-
curvetoNoMacro
public final void curvetoNoMacro(double x1, double y1, double x2, double y2, double x3, double y3)
-
moveto
public void moveto(double x1, double y1)
-
lineto
public void lineto(double x1, double y1)
-
curveto
public void curveto(double x1, double y1, double x2, double y2, double x3, double y3)
-
quadto
public void quadto(double x1, double y1, double x2, double y2)
-
newpath
public void newpath()
-
closepath
public void closepath()
-
fill
public void fill(int windingRule)
-
drawImage
public void drawImage(java.awt.image.BufferedImage image, double x, double y)
-
drawEps
public void drawEps(java.lang.String eps, double x, double y)
-
getDashVisible
protected final long getDashVisible()
-
getDashSpace
protected final long getDashSpace()
-
closeLink
public void closeLink()
-
epsUrlLink
public void epsUrlLink(int x, int y, int width, int height, java.lang.String url)
-
openLink
public void openLink(java.lang.String url)
-
epsRectangleShadow
public void epsRectangleShadow(double x, double y, double width, double height, double rx, double ry, double deltaShadow)
-
epsPolygonShadow
public void epsPolygonShadow(double deltaShadow, double... points)
-
epsEllipseShadow
public void epsEllipseShadow(double x, double y, double xRadius, double yRadius, double deltaShadow)
-
-