All Packages Class Hierarchy This Package Previous Next Index
Class psplot.PlotPath
java.lang.Object
|
+----psplot.PlotPath
- public class PlotPath
- extends Object
PlotPaths are the basic class drawn into PlotCanvases.
Drawing follows the PostScript model.
Each path is an array of segments.
Each segment is an array of coordinates.
Stroking a path means drawing lines along the pieces.
Filling it means turning each piece into a polygon.
-
PlotPath(PlotCanvas)
-
-
PlotPath(PlotCanvas, Color)
-
-
PlotPath(PlotCanvas, Graphics)
-
-
close()
-
-
curveto(RealPoint, RealPoint, RealPoint)
-
-
fill()
-
-
fill(Color)
-
-
lineto(double, double)
-
-
lineto(RealPoint)
-
-
moveto(double, double)
-
-
moveto(RealPoint)
-
-
rlineto(double, double)
-
-
rlineto(RealPoint)
-
-
rmoveto(double, double)
-
-
rmoveto(RealPoint)
-
-
setColor(Color)
-
-
stroke()
-
-
stroke(Color)
-
PlotPath
public PlotPath(PlotCanvas can)
PlotPath
public PlotPath(PlotCanvas can,
Graphics g)
PlotPath
public PlotPath(PlotCanvas can,
Color col)
setColor
public void setColor(Color c)
moveto
public void moveto(double x,
double y)
moveto
public void moveto(RealPoint p)
rmoveto
public void rmoveto(RealPoint p)
rmoveto
public void rmoveto(double x,
double y)
lineto
public void lineto(RealPoint p)
lineto
public void lineto(double x,
double y)
rlineto
public void rlineto(RealPoint p)
rlineto
public void rlineto(double x,
double y)
curveto
public void curveto(RealPoint P1,
RealPoint P2,
RealPoint P3)
close
public void close()
stroke
public void stroke()
stroke
public void stroke(Color c)
fill
public void fill()
fill
public void fill(Color c)
All Packages Class Hierarchy This Package Previous Next Index