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

# public class CanvasDrawer

(source file: CanvasDrawer.java)

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Canvas
                       |
                       +----CanvasDrawer

The pure class interface.

    public class CanvasDrawer
      extends Canvas

  A canvas containing a drawing area for a graph.

  Author:
    Alan Jeffrey
  Version: v1.02 1998/06/27
  See also:
    Drawer

##

CanvasDrawer(Drawable, Solution, Font)
  Create a new canvas containing a graph.

##

paint(Graphics)
translate(int, int)

##

CanvasDrawer

    public CanvasDrawer(Drawable d,
                        Solution s,
                        Font textFont);

  Create a new canvas containing a graph.

  Parameters:
    d - the graph to draw.
    s - the solution set for the graph.
    textFont - the font to use.

##

translate

    public void translate(int x,
                          int y);

paint

    public void paint(Graphics g);

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

###### CanvasDrawer.html