`[all packages] [package ] [class hierarchy] [index]`

# public class PSGrapher

(source file: PSGrapher.java)

    java.lang.Object
       |
       +----Grapher
               |
               +----PSGrapher

The pure class interface.

    public class PSGrapher
      extends Grapher

  A PostScript back end for the application.

  Author:
    Alan Jeffrey
  Version: v1.0 1998/06/10

##

PSGrapher(int, int, int, int, String, int, Printer)
  Create a new graph-drawing object which will send PostScript instructions to a printer.

##

black()
blue()
close()
drawArrow(int, int, int, int)
drawCircle(int, int)
drawDot(int, int)
drawLine(int, int, int, int)
drawRectangle(int, int, int, int)
drawText(int, int, String)
drawUTurn(int, int, int, int)
purple()
red()

##

PSGrapher

    public PSGrapher(int llX,
                     int llY,
                     int urX,
                     int urY,
                     String font,
                     int size,
                     Printer p);

  Create a new graph-drawing object which will send PostScript instructions to a printer.

  Parameters:
    llX - the lower left x-coordinate of the bounding box
    llY - the lower left y-coordinate of the bounding box
    urX - the upper right x-coordinate of the bounding box
    urY - the upper right y-coordinate of the bounding box
    font - the name of the font
    size - the size of the font
    p - the printer to print to

##

black

    public void black();

blue

    public void blue();

purple

    public void purple();

red

    public void red();

drawLine

    public void drawLine(int llX,
                         int llY,
                         int urX,
                         int urY);

drawArrow

    public void drawArrow(int llX,
                          int llY,
                          int urX,
                          int urY);

drawRectangle

    public void drawRectangle(int llX,
                              int llY,
                              int urX,
                              int urY);

drawText

    public void drawText(int x,
                         int y,
                         String text);

drawCircle

    public void drawCircle(int x,
                           int y);

drawDot

    public void drawDot(int x,
                        int y);

drawUTurn

    public void drawUTurn(int bot,
                          int left,
                          int top,
                          int right);

close

    public void close();

`[all packages] [package ] [class hierarchy] [index]`

###### PSGrapher.html