fr.orsay.lri.varna.models.export
Class PSExport
java.lang.Object
fr.orsay.lri.varna.models.export.SecStrDrawingProducer
fr.orsay.lri.varna.models.export.PSExport
public class PSExport
- extends SecStrDrawingProducer
- Author:
- ponty
Fields inherited from class fr.orsay.lri.varna.models.export.SecStrDrawingProducer |
_backgroundColor, _curColor, _font, _fontsize, FONT_COURIER, FONT_COURIER_BOLD, FONT_COURIER_BOLD_OBLIQUE, FONT_COURIER_OBLIQUE, FONT_HELVETICA, FONT_HELVETICA_BOLD, FONT_HELVETICA_BOLD_OBLIQUE, FONT_HELVETICA_OBLIQUE, FONT_TIMES_BOLD, FONT_TIMES_BOLD_ITALIC, FONT_TIMES_ITALIC, FONT_TIMES_ROMAN |
Method Summary |
String |
drawArcS(Point2D.Double origine,
double width,
double height,
double startAngle,
double endAngle)
|
String |
drawCircleS(Point2D.Double p,
double radius,
double thickness)
|
String |
drawLineS(Point2D.Double p0,
Point2D.Double p1,
double thickness)
|
String |
drawPolygonS(Point2D.Double[] points,
double thickness)
|
String |
drawRectangleS(Point2D.Double orig,
Point2D.Double dims,
double thickness)
|
String |
drawTextS(Point2D.Double p,
String txt)
|
private String |
EPSFooter()
|
private String |
EPSHeader(double minX,
double maxX,
double minY,
double maxY)
|
String |
fillCircleS(Point2D.Double p,
double radius,
double thickness,
Color color)
|
String |
fillPolygonS(Point2D.Double[] points,
Color color)
|
private String |
fontName(int font)
|
String |
footerS()
|
String |
headerS(Rectangle2D.Double bb)
|
private String |
PSArc(double x,
double y,
double radius,
double angleFrom,
double angleTo)
|
private String |
PSArc(double x,
double y,
double radiusX,
double radiusY,
double angleFrom,
double angleTo)
|
private String |
PSBBox(double minX,
double maxX,
double minY,
double maxY)
|
private String |
PSClosePath()
|
private String |
PSFill()
|
private String |
PSLineTo(double dx,
double dy)
|
private String |
PSMacros()
|
private String |
PSMoveTo(double x,
double y)
|
private String |
PSNewPath()
|
private String |
PSRLineTo(double dx,
double dy)
|
private String |
PSSetColor(Color col)
|
private String |
PSSetFont(int font,
double size)
|
private String |
PSSetLineWidth(double thickness)
|
private String |
PSShow()
|
private String |
PSStroke()
|
private String |
PSText(String txt)
|
String |
setColorS(Color col)
|
String |
setFontS(int font,
double size)
|
Methods inherited from class fr.orsay.lri.varna.models.export.SecStrDrawingProducer |
drawArc, drawCircle, drawLine, drawPolygon, drawPolygon, drawRectangle, drawText, export, fillCircle, fillPolygon, fillPolygon, fillRectangle, getBoundingBox, getCurFontSize, getCurrentColor, getCurrentFont, removeBackgroundColor, reset, setBackgroundColor, setColor, setFont, setScale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PSExport
public PSExport()
PSMacros
private String PSMacros()
EPSHeader
private String EPSHeader(double minX,
double maxX,
double minY,
double maxY)
EPSFooter
private String EPSFooter()
PSNewPath
private String PSNewPath()
PSMoveTo
private String PSMoveTo(double x,
double y)
PSLineTo
private String PSLineTo(double dx,
double dy)
PSRLineTo
private String PSRLineTo(double dx,
double dy)
PSSetLineWidth
private String PSSetLineWidth(double thickness)
PSStroke
private String PSStroke()
PSArc
private String PSArc(double x,
double y,
double radiusX,
double radiusY,
double angleFrom,
double angleTo)
PSArc
private String PSArc(double x,
double y,
double radius,
double angleFrom,
double angleTo)
PSBBox
private String PSBBox(double minX,
double maxX,
double minY,
double maxY)
PSText
private String PSText(String txt)
PSShow
private String PSShow()
PSClosePath
private String PSClosePath()
PSFill
private String PSFill()
PSSetColor
private String PSSetColor(Color col)
fontName
private String fontName(int font)
PSSetFont
private String PSSetFont(int font,
double size)
setFontS
public String setFontS(int font,
double size)
- Specified by:
setFontS
in class SecStrDrawingProducer
setColorS
public String setColorS(Color col)
- Overrides:
setColorS
in class SecStrDrawingProducer
drawLineS
public String drawLineS(Point2D.Double p0,
Point2D.Double p1,
double thickness)
- Specified by:
drawLineS
in class SecStrDrawingProducer
drawTextS
public String drawTextS(Point2D.Double p,
String txt)
- Specified by:
drawTextS
in class SecStrDrawingProducer
drawRectangleS
public String drawRectangleS(Point2D.Double orig,
Point2D.Double dims,
double thickness)
- Specified by:
drawRectangleS
in class SecStrDrawingProducer
drawCircleS
public String drawCircleS(Point2D.Double p,
double radius,
double thickness)
- Specified by:
drawCircleS
in class SecStrDrawingProducer
fillCircleS
public String fillCircleS(Point2D.Double p,
double radius,
double thickness,
Color color)
- Specified by:
fillCircleS
in class SecStrDrawingProducer
footerS
public String footerS()
- Specified by:
footerS
in class SecStrDrawingProducer
headerS
public String headerS(Rectangle2D.Double bb)
- Specified by:
headerS
in class SecStrDrawingProducer
drawArcS
public String drawArcS(Point2D.Double origine,
double width,
double height,
double startAngle,
double endAngle)
- Specified by:
drawArcS
in class SecStrDrawingProducer
drawPolygonS
public String drawPolygonS(Point2D.Double[] points,
double thickness)
- Specified by:
drawPolygonS
in class SecStrDrawingProducer
fillPolygonS
public String fillPolygonS(Point2D.Double[] points,
Color color)
- Specified by:
fillPolygonS
in class SecStrDrawingProducer