edu.ucla.stat.SOCR.analyses.util.parser.EPS
Class EPSWriter
java.lang.Object
edu.ucla.stat.SOCR.analyses.util.parser.EPS.EPSWriter
public class EPSWriter
- extends java.lang.Object
MultiDendrograms
Utils for the creation of the EPS file
- Since:
- JDK 6.0
- Author:
- Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández
Constructor Summary |
EPSWriter(int x0,
int y0,
int x1,
int y1)
|
Method Summary |
static java.lang.String |
bottomLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
bottomLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
bottomMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
bottomMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
bottomRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
bottomRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
boundingBoxText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
centerLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
centerLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
centerMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
centerMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
centerRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
centerRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static void |
close()
|
static java.lang.String |
dCircle(float x,
float y,
float r)
|
static java.lang.String |
dDiamond(float x,
float y,
float r)
|
static java.lang.String |
dLine(float x1,
float y1,
float x2,
float y2)
|
static java.lang.String |
dPlus(float x,
float y,
float r)
|
static java.lang.String |
dRectangle(float x1,
float y1,
float x2,
float y2)
|
static java.lang.String |
dSplat(float x,
float y,
float r)
|
static java.lang.String |
dSquare(float x,
float y,
float r)
|
static java.lang.String |
dTimes(float x,
float y,
float r)
|
static java.lang.String |
dTriangleE(float x,
float y,
float r)
|
static java.lang.String |
dTriangleN(float x,
float y,
float r)
|
static java.lang.String |
dTriangleS(float x,
float y,
float r)
|
static java.lang.String |
dTriangleW(float x,
float y,
float r)
|
static java.lang.String |
dupDup(float x,
float y)
|
static java.lang.String |
dupDupDup(float x,
float y,
float z)
|
static java.lang.String |
fCircle(float x,
float y,
float r)
|
static java.lang.String |
fDiamond(float x,
float y,
float r)
|
static java.lang.String |
fLine(float x1,
float y1,
float x2,
float y2)
|
static java.lang.String |
fPlus(float x,
float y,
float r)
|
static java.lang.String |
fRectangle(float x1,
float y1,
float x2,
float y2)
|
static java.lang.String |
fSplat(float x,
float y,
float r)
|
static java.lang.String |
fSquare(float x,
float y,
float r)
|
static java.lang.String |
fTimes(float x,
float y,
float r)
|
static java.lang.String |
fTriangleE(float x,
float y,
float r)
|
static java.lang.String |
fTriangleN(float x,
float y,
float r)
|
static java.lang.String |
fTriangleS(float x,
float y,
float r)
|
static java.lang.String |
fTriangleW(float x,
float y,
float r)
|
static java.lang.String |
lineTo(float x,
float y)
|
static java.lang.String |
lowercaseBottomTopText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
lowerLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
lowerLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
lowerMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
lowerMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
lowerRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
lowerRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
middleLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
middleLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
middleMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
middleMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
middleRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
middleRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
moveTo(float x,
float y)
|
static java.lang.String |
oCircle(float x,
float y,
float r)
|
static java.lang.String |
oDiamond(float x,
float y,
float r)
|
static java.lang.String |
oLine(float x1,
float y1,
float x2,
float y2)
|
static void |
open(java.lang.String eps_path)
|
static java.lang.String |
oPlus(float x,
float y,
float r)
|
static java.lang.String |
oRectangle(float x1,
float y1,
float x2,
float y2)
|
static java.lang.String |
oSplat(float x,
float y,
float r)
|
static java.lang.String |
oSquare(float x,
float y,
float r)
|
static java.lang.String |
oTimes(float x,
float y,
float r)
|
static java.lang.String |
oTriangleE(float x,
float y,
float r)
|
static java.lang.String |
oTriangleN(float x,
float y,
float r)
|
static java.lang.String |
oTriangleS(float x,
float y,
float r)
|
static java.lang.String |
oTriangleW(float x,
float y,
float r)
|
static java.lang.String |
rLineTo(float dx,
float dy)
|
static java.lang.String |
rMoveTo(float dx,
float dy)
|
static java.lang.String |
scaleSetFont(java.lang.String fn,
float r)
|
static java.lang.String |
setDashpattern(float[] x,
int n)
|
static java.lang.String |
setGray(float ww)
|
static java.lang.String |
setLineWidth(float r)
|
static java.lang.String |
setRGBColor(float rr,
float gg,
float bb)
|
static java.lang.String |
stroke()
|
static java.lang.String |
topLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
topLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
topMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
topMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
topRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
topRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
upperLeftText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
upperLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
upperMiddleText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
upperMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
upperRightText(float x,
float y,
java.lang.String str)
|
static java.lang.String |
upperRightTextRotated(float x,
float y,
float a,
java.lang.String str)
|
static java.lang.String |
vectorSubstract(float x1,
float y1,
float x2,
float y2)
|
static void |
writeComments(java.lang.String creator,
java.lang.String orientation)
|
static void |
writeEnd()
|
static void |
writeLine(java.lang.String line)
|
static void |
writeProlog(java.lang.String prolog_path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmin
public static int xmin
xmax
public static int xmax
ymin
public static int ymin
ymax
public static int ymax
EPSWriter
public EPSWriter(int x0,
int y0,
int x1,
int y1)
open
public static void open(java.lang.String eps_path)
close
public static void close()
writeComments
public static void writeComments(java.lang.String creator,
java.lang.String orientation)
writeProlog
public static void writeProlog(java.lang.String prolog_path)
writeEnd
public static void writeEnd()
writeLine
public static void writeLine(java.lang.String line)
setLineWidth
public static java.lang.String setLineWidth(float r)
setDashpattern
public static java.lang.String setDashpattern(float[] x,
int n)
setRGBColor
public static java.lang.String setRGBColor(float rr,
float gg,
float bb)
setGray
public static java.lang.String setGray(float ww)
stroke
public static java.lang.String stroke()
moveTo
public static java.lang.String moveTo(float x,
float y)
lineTo
public static java.lang.String lineTo(float x,
float y)
rMoveTo
public static java.lang.String rMoveTo(float dx,
float dy)
rLineTo
public static java.lang.String rLineTo(float dx,
float dy)
dupDup
public static java.lang.String dupDup(float x,
float y)
dupDupDup
public static java.lang.String dupDupDup(float x,
float y,
float z)
vectorSubstract
public static java.lang.String vectorSubstract(float x1,
float y1,
float x2,
float y2)
dCircle
public static java.lang.String dCircle(float x,
float y,
float r)
fCircle
public static java.lang.String fCircle(float x,
float y,
float r)
oCircle
public static java.lang.String oCircle(float x,
float y,
float r)
dSquare
public static java.lang.String dSquare(float x,
float y,
float r)
fSquare
public static java.lang.String fSquare(float x,
float y,
float r)
oSquare
public static java.lang.String oSquare(float x,
float y,
float r)
dTriangleN
public static java.lang.String dTriangleN(float x,
float y,
float r)
fTriangleN
public static java.lang.String fTriangleN(float x,
float y,
float r)
oTriangleN
public static java.lang.String oTriangleN(float x,
float y,
float r)
dTriangleW
public static java.lang.String dTriangleW(float x,
float y,
float r)
fTriangleW
public static java.lang.String fTriangleW(float x,
float y,
float r)
oTriangleW
public static java.lang.String oTriangleW(float x,
float y,
float r)
dTriangleS
public static java.lang.String dTriangleS(float x,
float y,
float r)
fTriangleS
public static java.lang.String fTriangleS(float x,
float y,
float r)
oTriangleS
public static java.lang.String oTriangleS(float x,
float y,
float r)
dTriangleE
public static java.lang.String dTriangleE(float x,
float y,
float r)
fTriangleE
public static java.lang.String fTriangleE(float x,
float y,
float r)
oTriangleE
public static java.lang.String oTriangleE(float x,
float y,
float r)
dDiamond
public static java.lang.String dDiamond(float x,
float y,
float r)
fDiamond
public static java.lang.String fDiamond(float x,
float y,
float r)
oDiamond
public static java.lang.String oDiamond(float x,
float y,
float r)
dPlus
public static java.lang.String dPlus(float x,
float y,
float r)
fPlus
public static java.lang.String fPlus(float x,
float y,
float r)
oPlus
public static java.lang.String oPlus(float x,
float y,
float r)
dTimes
public static java.lang.String dTimes(float x,
float y,
float r)
fTimes
public static java.lang.String fTimes(float x,
float y,
float r)
oTimes
public static java.lang.String oTimes(float x,
float y,
float r)
dSplat
public static java.lang.String dSplat(float x,
float y,
float r)
fSplat
public static java.lang.String fSplat(float x,
float y,
float r)
oSplat
public static java.lang.String oSplat(float x,
float y,
float r)
dRectangle
public static java.lang.String dRectangle(float x1,
float y1,
float x2,
float y2)
fRectangle
public static java.lang.String fRectangle(float x1,
float y1,
float x2,
float y2)
oRectangle
public static java.lang.String oRectangle(float x1,
float y1,
float x2,
float y2)
dLine
public static java.lang.String dLine(float x1,
float y1,
float x2,
float y2)
fLine
public static java.lang.String fLine(float x1,
float y1,
float x2,
float y2)
oLine
public static java.lang.String oLine(float x1,
float y1,
float x2,
float y2)
scaleSetFont
public static java.lang.String scaleSetFont(java.lang.String fn,
float r)
boundingBoxText
public static java.lang.String boundingBoxText(float x,
float y,
java.lang.String str)
lowercaseBottomTopText
public static java.lang.String lowercaseBottomTopText(float x,
float y,
java.lang.String str)
lowerLeftText
public static java.lang.String lowerLeftText(float x,
float y,
java.lang.String str)
lowerMiddleText
public static java.lang.String lowerMiddleText(float x,
float y,
java.lang.String str)
lowerRightText
public static java.lang.String lowerRightText(float x,
float y,
java.lang.String str)
middleLeftText
public static java.lang.String middleLeftText(float x,
float y,
java.lang.String str)
middleMiddleText
public static java.lang.String middleMiddleText(float x,
float y,
java.lang.String str)
middleRightText
public static java.lang.String middleRightText(float x,
float y,
java.lang.String str)
upperLeftText
public static java.lang.String upperLeftText(float x,
float y,
java.lang.String str)
upperMiddleText
public static java.lang.String upperMiddleText(float x,
float y,
java.lang.String str)
upperRightText
public static java.lang.String upperRightText(float x,
float y,
java.lang.String str)
bottomLeftText
public static java.lang.String bottomLeftText(float x,
float y,
java.lang.String str)
bottomMiddleText
public static java.lang.String bottomMiddleText(float x,
float y,
java.lang.String str)
bottomRightText
public static java.lang.String bottomRightText(float x,
float y,
java.lang.String str)
centerLeftText
public static java.lang.String centerLeftText(float x,
float y,
java.lang.String str)
centerMiddleText
public static java.lang.String centerMiddleText(float x,
float y,
java.lang.String str)
centerRightText
public static java.lang.String centerRightText(float x,
float y,
java.lang.String str)
topLeftText
public static java.lang.String topLeftText(float x,
float y,
java.lang.String str)
topMiddleText
public static java.lang.String topMiddleText(float x,
float y,
java.lang.String str)
topRightText
public static java.lang.String topRightText(float x,
float y,
java.lang.String str)
lowerLeftTextRotated
public static java.lang.String lowerLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
lowerMiddleTextRotated
public static java.lang.String lowerMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
lowerRightTextRotated
public static java.lang.String lowerRightTextRotated(float x,
float y,
float a,
java.lang.String str)
middleLeftTextRotated
public static java.lang.String middleLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
middleMiddleTextRotated
public static java.lang.String middleMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
middleRightTextRotated
public static java.lang.String middleRightTextRotated(float x,
float y,
float a,
java.lang.String str)
upperLeftTextRotated
public static java.lang.String upperLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
upperMiddleTextRotated
public static java.lang.String upperMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
upperRightTextRotated
public static java.lang.String upperRightTextRotated(float x,
float y,
float a,
java.lang.String str)
bottomLeftTextRotated
public static java.lang.String bottomLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
bottomMiddleTextRotated
public static java.lang.String bottomMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
bottomRightTextRotated
public static java.lang.String bottomRightTextRotated(float x,
float y,
float a,
java.lang.String str)
centerLeftTextRotated
public static java.lang.String centerLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
centerMiddleTextRotated
public static java.lang.String centerMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
centerRightTextRotated
public static java.lang.String centerRightTextRotated(float x,
float y,
float a,
java.lang.String str)
topLeftTextRotated
public static java.lang.String topLeftTextRotated(float x,
float y,
float a,
java.lang.String str)
topMiddleTextRotated
public static java.lang.String topMiddleTextRotated(float x,
float y,
float a,
java.lang.String str)
topRightTextRotated
public static java.lang.String topRightTextRotated(float x,
float y,
float a,
java.lang.String str)