Class EpsGraphics
java.lang.Object
net.sourceforge.plantuml.klimt.drawing.eps.EpsGraphics
- Direct Known Subclasses:
EpsGraphicsMacro
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected final voidappendColor(Color c) protected final voidfinal voidclose()final voidvoidfinal voidvoidcurveto(double x1, double y1, double x2, double y2, double x3, double y3) final voidcurvetoNoMacro(double x1, double y1, double x2, double y2, double x3, double y3) voiddrawBezier(List<XCubicCurve2D> beziers, double x, double y) final voidfinal voiddrawImage(BufferedImage image, double x, double y) voidprotected final voidensureVisible(double x, double y) final voidepsEllipse(double x, double y, double xRadius, double yRadius) final voidepsEllipse(double x, double y, double xRadius, double yRadius, double start, double extend) final voidepsEllipseShadow(double x, double y, double xRadius, double yRadius, double deltaShadow) protected voidepsHLine(double x, double ymin, double ymax) final voidepsLine(double x1, double y1, double x2, double y2) final voidfinal voidepsPolygon(double... points) final voidepsPolygon(HColorGradient gr, ColorMapper mapper, double... points) final voidepsPolygonShadow(double deltaShadow, double... points) final voidepsRectangle(double x, double y, double width, double height, double rx, double ry) final voidepsRectangle(double x, double y, double width, double height, double rx, double ry, HColorGradient gr, ColorMapper mapper) final voidepsRectangleShadow(double x, double y, double width, double height, double rx, double ry, double deltaShadow) final voidepsUrlLink(int x, int y, int width, int height, String url) protected voidepsVLine(double y, double xmin, double xmax) voidfill(int windingRule) static StringformatSimple4(double x) protected Stringprotected final ColorgetColor()protected final longprotected final longfinal Stringvoidlineto(double x1, double y1) final voidlinetoNoMacro(double x1, double y1) voidmoveto(double x1, double y1) final voidmovetoNoMacro(double x1, double y1) voidnewpath()final voidfinal voidvoidquadto(double x1, double y1, double x2, double y2) final voidfinal voidfinal voidsetStrokeWidth(double strokeWidth, double dashVisible, double dashSpace)
-
Field Details
-
END_OF_FILE
- See Also:
-
COEF
protected static final long COEF- See Also:
-
-
Constructor Details
-
EpsGraphics
public EpsGraphics()
-
-
Method Details
-
ensureVisible
protected final void ensureVisible(double x, double y) -
getColor
-
close
public final void close() -
getEPSCode
-
getBodyString
-
setStrokeColor
-
setFillColor
-
setStrokeWidth
public final void setStrokeWidth(double strokeWidth, double dashVisible, double dashSpace) -
newpathDot
public final void newpathDot() -
closepathDot
public final void closepathDot() -
epsLine
public final 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
-
epsPolygon
-
epsPolygon
public final void epsPolygon(double... points) -
epsRectangle
public final void epsRectangle(double x, double y, double width, double height, double rx, double ry) -
epsRectangle
public final void epsRectangle(double x, double y, double width, double height, double rx, double ry, HColorGradient gr, ColorMapper mapper) -
epsEllipse
public final void epsEllipse(double x, double y, double xRadius, double yRadius, double start, double extend) -
epsEllipse
public final void epsEllipse(double x, double y, double xRadius, double yRadius) -
appendColor
-
appendColorShort
-
formatSimple4
-
append
-
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
-
drawEps
-
getDashVisible
protected final long getDashVisible() -
getDashSpace
protected final long getDashSpace() -
closeLink
public final void closeLink() -
epsUrlLink
-
openLink
-
epsRectangleShadow
public final void epsRectangleShadow(double x, double y, double width, double height, double rx, double ry, double deltaShadow) -
epsPolygonShadow
public final void epsPolygonShadow(double deltaShadow, double... points) -
epsEllipseShadow
public final void epsEllipseShadow(double x, double y, double xRadius, double yRadius, double deltaShadow) -
drawOk
-
drawBezier
-